diff options
author | Barry Warsaw <barry@python.org> | 2002-08-26 16:44:56 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-08-26 16:44:56 (GMT) |
commit | da5628f2869e8e98ee508991c7e756f90c342f1a (patch) | |
tree | 5dcf500b277fa334df39f234cf8c37a1aa4fedf4 | |
parent | 454602f0f7a0adf26904b6a700483c9386646788 (diff) | |
download | cpython-da5628f2869e8e98ee508991c7e756f90c342f1a.zip cpython-da5628f2869e8e98ee508991c7e756f90c342f1a.tar.gz cpython-da5628f2869e8e98ee508991c7e756f90c342f1a.tar.bz2 |
Fix an inaccuracy in the comment
-rwxr-xr-x | Lib/mailbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 1834177..6264394 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -137,8 +137,8 @@ class UnixMailbox(_Mailbox): # _search_end() may not be completely correct, because it doesn't check # 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 StrictUnixMailbox class which - # uses the older, more strict _fromlinepattern regular expression. + # necessary. For convenience, we've added a PortableUnixMailbox class + # which uses the more lenient _fromlinepattern regular expression. _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*$" |