We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a207fbb commit 82d4e2bCopy full SHA for 82d4e2b
Lib/tomllib/_parser.py
@@ -751,9 +751,9 @@ def parse_value(
751
# Try a simple parser for decimal numbers. If it's able to parse all
752
# numbers, it avoids importing tomllib._re which has an impact on
753
# the tomllib startup time.
754
- res = try_simple_decimal(src, pos)
755
- if res is not None:
756
- return res
+ number = try_simple_decimal(src, pos)
+ if number is not None:
+ return number
757
758
# Dates and times
759
datetime_match = RE_DATETIME.match(src, pos)
0 commit comments