diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-01 18:57:43 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-01 19:00:53 -0800 |
commit | 56ec575351ee2a562665bdf9162cbc5d19fbe387 (patch) | |
tree | 871f8f951f6da177d51c5fbc3791c948e9e9e169 /examples/binary.py | |
parent | a51160317c680662c52e4a1a6b4d11beae37f205 (diff) | |
download | psycopg2-56ec575351ee2a562665bdf9162cbc5d19fbe387.tar.gz |
Drop leading 0's from numeric literals
Not compatible with Python3. Makes the code more forward compatible with
modern Pythons.
In Python2, it was an alternative syntax for octal.
$ python3
>>> 01
File "<stdin>", line 1
01
^
SyntaxError: invalid token
Diffstat (limited to 'examples/binary.py')
0 files changed, 0 insertions, 0 deletions