summaryrefslogtreecommitdiff
path: root/Lib/decimal.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 746b34a894..1826deba80 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -6140,7 +6140,7 @@ _parse_format_specifier_regex = re.compile(r"""\A
(?:\.(?P<precision>0|(?!0)\d+))?
(?P<type>[eEfFgGn%])?
\Z
-""", re.VERBOSE)
+""", re.VERBOSE|re.DOTALL)
del re