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
➜ test python-modernize --version modernize 0.7
after running python-modernize on test code
+from future import print_function +import six d = {"key": "value"} -first_key = d.iterkeys().next() +first_key = six.iterkeys(d) print(first_key)
This is not equivalent and it should be changed to six.next(six.iterkeys(d))
six.next(six.iterkeys(d))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
after running python-modernize on test code
This is not equivalent and it should be changed to
six.next(six.iterkeys(d))
The text was updated successfully, but these errors were encountered: