mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
A fix for SF bug #472560, extra newlines returned by get_param() when
the separating semi-colon shows up on a continuation line (legal, but weird). Bug reported and fixed by Matthew Cowles. Test case and sample email included.
This commit is contained in:
parent
e674ca737d
commit
2539cf5aad
3 changed files with 51 additions and 1 deletions
|
@ -17,7 +17,7 @@ import Errors
|
|||
import Utils
|
||||
|
||||
SEMISPACE = '; '
|
||||
paramre = re.compile(r';\s*')
|
||||
paramre = re.compile(r'\s*;\s*')
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue