Skip to content

Updated .sort() for Python 3#3

Open
jsilversto wants to merge 1 commit intogmagno:masterfrom
jsilversto:patch-1
Open

Updated .sort() for Python 3#3
jsilversto wants to merge 1 commit intogmagno:masterfrom
jsilversto:patch-1

Conversation

@jsilversto
Copy link
Copy Markdown

Added a check for Python version, using a new sort with the key parameter for v > 3.0 and the old sort (with cmp) otherwise.

Added a check for Python version, using a new sort with the key parameter for v > 3.0 and the old sort (with cmp) otherwise.
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.

1 participant