summaryrefslogtreecommitdiffstats
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-06 01:56:09 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-06 01:56:09 (GMT)
commited84ab333501cb79642c1a3c0763573fc3eb6a1d (patch)
tree155b1ae68a89e280d478a26887831cc3f79a77a0 /Lib/mailbox.py
parent1cd277224685654a82489881f90d93a32571b7b2 (diff)
downloadcpython-ed84ab333501cb79642c1a3c0763573fc3eb6a1d.zip
cpython-ed84ab333501cb79642c1a3c0763573fc3eb6a1d.tar.gz
cpython-ed84ab333501cb79642c1a3c0763573fc3eb6a1d.tar.bz2
Issue #27107: Add exception classes to mailbox.__all__, by Jacek KoƂodziej
Diffstat (limited to 'Lib/mailbox.py')
-rw-r--r--Lib/mailbox.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py
index 0270e25..0e23987 100644
--- a/Lib/mailbox.py
+++ b/Lib/mailbox.py
@@ -23,9 +23,10 @@ try:
except ImportError:
fcntl = None
-__all__ = [ 'Mailbox', 'Maildir', 'mbox', 'MH', 'Babyl', 'MMDF',
- 'Message', 'MaildirMessage', 'mboxMessage', 'MHMessage',
- 'BabylMessage', 'MMDFMessage']
+__all__ = ['Mailbox', 'Maildir', 'mbox', 'MH', 'Babyl', 'MMDF',
+ 'Message', 'MaildirMessage', 'mboxMessage', 'MHMessage',
+ 'BabylMessage', 'MMDFMessage', 'Error', 'NoSuchMailboxError',
+ 'NotEmptyError', 'ExternalClashError', 'FormatError']
linesep = os.linesep.encode('ascii')