[Python-checkins] r53519 - python/trunk/Lib/mailbox.py

andrew.kuchling python-checkins at python.org
Mon Jan 22 21:27:50 CET 2007


Author: andrew.kuchling
Date: Mon Jan 22 21:27:50 2007
New Revision: 53519

Modified:
   python/trunk/Lib/mailbox.py
Log:
Make comment match the code

Modified: python/trunk/Lib/mailbox.py
==============================================================================
--- python/trunk/Lib/mailbox.py	(original)
+++ python/trunk/Lib/mailbox.py	Mon Jan 22 21:27:50 2007
@@ -1993,7 +1993,7 @@
     # 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*"


More information about the Python-checkins mailing list