Skip to content
New issue

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

Improve six usage (xrange, map, zip`) #2264

Merged
merged 3 commits into from
Dec 17, 2018

Conversation

horpto
Copy link
Contributor

@horpto horpto commented Nov 11, 2018

Now the code contains both range and xrange. It's not consistent. Since
Python2 support will end soon, it's better to make the code more like in
Python3.

Now the code contains both range and xrange. It's not consistent. Since
Python2 support will end soon, it's better to make the code more like in
Python3.
@horpto
Copy link
Contributor Author

horpto commented Dec 16, 2018

@menshikh-iv review, please

@menshikh-iv menshikh-iv changed the title replace xrange with range + import from six.moves Improve six usage (xrange, map, zip`) Dec 17, 2018
@menshikh-iv menshikh-iv merged commit 3d5a21c into piskvorky:develop Dec 17, 2018
@menshikh-iv
Copy link
Contributor

Thank you @horpto 🔥

@horpto horpto deleted the izip-xrange branch January 19, 2019 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants