summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-05-29 13:45:38 (GMT)
committerStefan Krah <skrah@bytereef.org>2013-05-29 13:45:38 (GMT)
commit6edda14b2968ca07b94a2fdde4dd43215222fcd8 (patch)
treed404076004687dade874d90bf7340af609ba5f50 /Lib/decimal.py
parentc70a6ae49bd162af06130e48a45579d445e058a8 (diff)
downloadcpython-6edda14b2968ca07b94a2fdde4dd43215222fcd8.zip
cpython-6edda14b2968ca07b94a2fdde4dd43215222fcd8.tar.gz
cpython-6edda14b2968ca07b94a2fdde4dd43215222fcd8.tar.bz2
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.
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 746b34a..1826deb 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