From: Andrew M. Kuchling Date: Mon, 22 Jan 2007 20:31:15 +0000 (+0000) Subject: Make comment match the code X-Git-Tag: v2.5.1c1~149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0a133bea84c92f9ed22195c64366dcaa9e2ca36;p=python Make comment match the code --- diff --git a/Lib/mailbox.py b/Lib/mailbox.py index f9af494956..63237bb201 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -1972,7 +1972,7 @@ class UnixMailbox(_Mailbox): # 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 # 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+" \ r"\d?\d:\d\d(:\d\d)?(\s+[^\s]+)?\s+\d\d\d\d\s*$"