| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
The unicode flag is passed to `gettext.install` has default value `False` in Python2. [1]
In Python3 this flag does not exists. [2]
[1] https://docs.python.org/2/library/gettext.html#gettext.NullTranslations.install
[2] https://docs.python.org/3.5/library/gettext.html#gettext.NullTranslations.install
|
|
|
|
|
|
|
|
| |
The `print` function in Python3 is used with brackets.[1]
This syntax is also accepted in Python2.[2]
[1] https://docs.python.org/3.5/library/functions.html#print
[2] https://docs.python.org/2.7/library/functions.html#print
|
|
|
|
|
|
|
|
| |
Examine an exception during exception handling in Python3
is done with 'as' instead of comma.
This approach works in Python2 as well.
https://wiki.python.org/moin/HandlingExceptions
|
|
|