[Python-checkins] r53520 - python/branches/release25-maint/Lib/mailbox.py
andrew.kuchling
python-checkins at python.org
Mon Jan 22 21:31:15 CET 2007
Author: andrew.kuchling
Date: Mon Jan 22 21:31:15 2007
New Revision: 53520
Modified:
python/branches/release25-maint/Lib/mailbox.py
Log:
Make comment match the code
Modified: python/branches/release25-maint/Lib/mailbox.py
==============================================================================
--- python/branches/release25-maint/Lib/mailbox.py (original)
+++ python/branches/release25-maint/Lib/mailbox.py Mon Jan 22 21:31:15 2007
@@ -1972,7 +1972,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