Skip to content

Conversation

@uikokahonia
Copy link

Changing print statements from the old py2 'print' keyword syntax into the newer 'print' function syntax, also changing one try-except exception catching from the old 'comma' syntax to the newer 'as' keyword syntax. Now this module can be imported in both python3 and python2 safely, prior to that it was not compatible with python3.

Note: the 'as' assignment within an exception catching is not compatible with python <= 2.5 but it is better to have this module compatible with python3 than with python <= 2.5 (https://peps.python.org/pep-3110/)

…ord syntax into the newer 'print' function syntax, also changing one try-except catching from the old 'comma' syntax to the newer 'as' keyword syntax
@carlos-villavicencio-adsk
Copy link
Contributor

We're dropping support for Python 2. This module will be removed in the future. We appreciate your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants