Skip to content

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

Merged
menshikh-iv merged 3 commits into
piskvorky:developfrom
horpto:izip-xrange
Dec 17, 2018
Merged

Improve six usage (xrange, map, zip`)#2264
menshikh-iv merged 3 commits into
piskvorky:developfrom
horpto:izip-xrange

Conversation

@horpto
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants