mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.
This commit is contained in:
parent
c70a6ae49b
commit
6edda14b29
5 changed files with 64 additions and 16 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue