mirror of https://github.com/python/cpython
Make comment match the code
This commit is contained in:
parent
b78bb74c41
commit
b94c0c3ea1
|
@ -1993,7 +1993,7 @@ class UnixMailbox(_Mailbox):
|
||||||
# that the two characters preceding "From " are \n\n or the beginning of
|
# that the two characters preceding "From " are \n\n or the beginning of
|
||||||
# the file. Fixing this would require a more extensive rewrite than is
|
# the file. Fixing this would require a more extensive rewrite than is
|
||||||
# necessary. For convenience, we've added a PortableUnixMailbox class
|
# necessary. For convenience, we've added a PortableUnixMailbox class
|
||||||
# which uses the more lenient _fromlinepattern regular expression.
|
# which does no checking of the format of the 'From' line.
|
||||||
|
|
||||||
_fromlinepattern = (r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+"
|
_fromlinepattern = (r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+"
|
||||||
r"\d?\d:\d\d(:\d\d)?(\s+[^\s]+)?\s+\d\d\d\d\s*"
|
r"\d?\d:\d\d(:\d\d)?(\s+[^\s]+)?\s+\d\d\d\d\s*"
|
||||||
|
|
Loading…
Reference in New Issue