summaryrefslogtreecommitdiffstats
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2007-01-22 20:27:50 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2007-01-22 20:27:50 (GMT)
commitb94c0c3ea1769b093900080fee5d8a6602da7a7e (patch)
tree504546e7bdd19f48c9f57b1c408f885f89f899f6 /Lib/mailbox.py
parentb78bb74c418767c2b5d046ccc85e0b106877a9f8 (diff)
downloadcpython-b94c0c3ea1769b093900080fee5d8a6602da7a7e.zip
cpython-b94c0c3ea1769b093900080fee5d8a6602da7a7e.tar.gz
cpython-b94c0c3ea1769b093900080fee5d8a6602da7a7e.tar.bz2
Make comment match the code
Diffstat (limited to 'Lib/mailbox.py')
-rwxr-xr-xLib/mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py
index 17e062e..6580099 100755
--- a/Lib/mailbox.py
+++ b/Lib/mailbox.py
@@ -1993,7 +1993,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*"