Brett Cannon added the comment:
the author meant "integer literals" when he said "integers" which is accurate
as the hex literal isn't quite the same (e.g. uses different parse rules,
etc.). If you would still like to propose different wording then you can submit
a pull request at
New submission from Pierre Ducroquet:
The what's new section about PEP 515 says :
«With PEP 515, though, you can use underscores to separate digits as desired to
make numeric literals easier to read: 1_000_000_000_000_000. Underscores can be
used with other numeric literals beyond integers,