summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2007-01-22 20:31:15 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2007-01-22 20:31:15 (GMT)
commita0a133bea84c92f9ed22195c64366dcaa9e2ca36 (patch)
treed3af6d5514048e61110570cfd708724f8f1fa355
parentb8c6e1f33f9364b47af306791b44dba4109afd82 (diff)
downloadcpython-a0a133bea84c92f9ed22195c64366dcaa9e2ca36.zip
cpython-a0a133bea84c92f9ed22195c64366dcaa9e2ca36.tar.gz
cpython-a0a133bea84c92f9ed22195c64366dcaa9e2ca36.tar.bz2
Make comment match the code
-rwxr-xr-xLib/mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py
index f9af494..63237bb 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*$"