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

Backwards compatibility for Python 2 #414

Merged
merged 1 commit into from Aug 25, 2021
Merged

Backwards compatibility for Python 2 #414

merged 1 commit into from Aug 25, 2021

Conversation

knowmoe
Copy link
Contributor

@knowmoe knowmoe commented Aug 11, 2021

The following line is not required but supposedly optimizes code. However, this breaks on some Python 2 installations, where the future module version installed is > 0.16. This can be a pain to revert.

from builtins import range

@swisskyrepo swisskyrepo merged commit 46cd766 into swisskyrepo:master Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants