[Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3) (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Sat Feb 13 06:10:59 EST 2016
- Previous message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Next message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 13.02.16 10:48, Georg Brandl wrote:
Following the same rules for placement, underscores will be allowed in the following constructors:
-
int()
(with any base) -float()
-complex()
-Decimal()
What about float.fromhex()? Should underscores be allowed in it (I think no)?
- Previous message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Next message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]