]> granicus.if.org Git - python/commitdiff
Make comment match the code
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 22 Jan 2007 20:31:15 +0000 (20:31 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 22 Jan 2007 20:31:15 +0000 (20:31 +0000)
Lib/mailbox.py

index f9af494956ce43208955f2a48cbb39fd0a6b9913..63237bb201e7fb7ffe3c7e790cbc887823b5003f 100755 (executable)
@@ -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*$"