Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
66f8518a
Commit
66f8518a
authored
Dec 14, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#19981: merge with 3.3.
parents
3c2a178a
956040a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/mailbox.rst
Doc/library/mailbox.rst
+2
-2
No files found.
Doc/library/mailbox.rst
View file @
66f8518a
...
...
@@ -1550,7 +1550,7 @@ programs, mail loss due to interruption of the program, or premature termination
due to malformed messages in the mailbox::
import mailbox
import email.
E
rrors
import email.
e
rrors
list_names = ('python-list', 'python-dev', 'python-bugs')
...
...
@@ -1560,7 +1560,7 @@ due to malformed messages in the mailbox::
for key in inbox.iterkeys():
try:
message = inbox[key]
except email.
E
rrors.MessageParseError:
except email.
e
rrors.MessageParseError:
continue # The message is malformed. Just leave it.
for name in list_names:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment