mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 05:30:27 +01:00
py/lexer: Add support for underscores in numeric literals.
This is a very convenient feature introduced in Python 3.6 by PEP 515.
This commit is contained in:
5
tests/float/python36.py.exp
Normal file
5
tests/float/python36.py.exp
Normal file
@@ -0,0 +1,5 @@
|
||||
1000.18
|
||||
1e+12
|
||||
123.0
|
||||
123.4
|
||||
1e+13
|
||||
Reference in New Issue
Block a user