summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-12-14 10:42:29 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-12-14 10:42:29 (GMT)
commit956040a7cce05aada13e833478273485f7f74722 (patch)
tree83db8ed27de708b2296559138e251bba3b65f9bd /Doc
parentfc06999e0b7cd7460565f475e568a86915ec8672 (diff)
downloadcpython-956040a7cce05aada13e833478273485f7f74722.zip
cpython-956040a7cce05aada13e833478273485f7f74722.tar.gz
cpython-956040a7cce05aada13e833478273485f7f74722.tar.bz2
#19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/mailbox.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst
index d668a6ea..0478ed1 100644
--- a/Doc/library/mailbox.rst
+++ b/Doc/library/mailbox.rst
@@ -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.Errors
+ import email.errors
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.Errors.MessageParseError:
+ except email.errors.MessageParseError:
continue # The message is malformed. Just leave it.
for name in list_names: