We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tried on version 0.7 and 0.8 running python-modernize -f default ... input
from itertools import izip def do_izip(input): return izip(input) def do_zip(input): return zip(input)
output
from __future__ import absolute_import from six.moves import zip def do_izip(input): return zip(input) def do_zip(input): return zip(input)
expected:
def do_zip(input): return list(zip(input))
if I remove the do_izip function, it works properly of course...
happens for map and imap as well.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
tried on version 0.7 and 0.8
running python-modernize -f default ...
input
output
expected:
if I remove the do_izip function, it works properly of course...
happens for map and imap as well.
The text was updated successfully, but these errors were encountered: