micropython/tests/float/lexer.py

7 wiersze
154 B
Python

# since black code formatter does not allow leading decimal point with nothing
# before it, we need to test it explicitly
# fmt: off
print(.1)
# fmt: on