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, e.g. 0x_FF_FF_FF_FF.»

As far as I know, 0xFFFFFFFF is 2 ** 32 - 1, an integer.
I think the author meant «beyond decimals»

----------
assignee: docs@python
components: Documentation
messages: 276192
nosy: Pierre Ducroquet, docs@python
priority: normal
severity: normal
status: open
title: Error in what's new - PEP 515
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to