Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correcting not Py3-compatible syntax
In Python 3: * 'dict_values' object has no attribute 'sort' * 'generator' object has no attribute 'next' --> Corresponding method calls replaced with cross-version builtins. * data read from class files is 'bytes' --> 'str' changed to 'bytes', as the latter is present in Py2 as well * xrange() is not present --> replaced with range() (as done everywhere else in 4a6cd21) * iterkeys(), iteritems() are not present --> replaced with keys(), items()
- Loading branch information
1 parent
a3522ab
commit 86b47e3
Showing
6 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters