[Python-checkins] cpython (3.3): #19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.

ezio.melotti python-checkins at python.org
Sat Dec 14 11:43:37 CET 2013


http://hg.python.org/cpython/rev/364ca376956f
changeset: 87947:364ca376956f
branch: 3.3
parent: 87944:8e18a3b54bbe
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Dec 14 12:42:29 2013 +0200
summary:
 #19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.
files:
 Doc/library/mailbox.rst | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst
--- a/Doc/library/mailbox.rst
+++ b/Doc/library/mailbox.rst
@@ -1550,7 +1550,7 @@
 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 @@
 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:
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /