[issue35703] Underscores in numeric literals cannot be before or after decimal (.)

Ronald Oussoren report at bugs.python.org
Thu Jan 10 03:44:36 EST 2019


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

This is intentional, see <https://docs.python.org/3/reference/lexical_analysis.html#floating-point-literals>.

In floating point literals the underscores must always be between two digits.

----------
nosy: +ronaldoussoren
resolution:  -> not a bug
status: open -> pending
type: crash -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35703>
_______________________________________


More information about the Python-bugs-list mailing list