diff options
author | Barry Warsaw <barry@python.org> | 2002-09-28 20:25:15 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-09-28 20:25:15 (GMT) |
commit | 5f253279d621b561519ba273de65185e01e2eba5 (patch) | |
tree | 6e43d5ede9cd933fd48be7ef0d6eb0fa79ece085 /Lib | |
parent | 7f232121c96f8855353899aa93144b994a9ae38e (diff) | |
download | cpython-5f253279d621b561519ba273de65185e01e2eba5.zip cpython-5f253279d621b561519ba273de65185e01e2eba5.tar.gz cpython-5f253279d621b561519ba273de65185e01e2eba5.tar.bz2 |
Add a pychecker suppression.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/email/MIMENonMultipart.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/email/MIMENonMultipart.py b/Lib/email/MIMENonMultipart.py index 899c784..1b3bcfd 100644 --- a/Lib/email/MIMENonMultipart.py +++ b/Lib/email/MIMENonMultipart.py @@ -12,9 +12,13 @@ from email import MIMEBase class MIMENonMultipart(MIMEBase.MIMEBase): """Base class for MIME multipart/* type messages.""" + __pychecker__ = 'unusednames=payload' + def attach(self, payload): # The public API prohibits attaching multiple subparts to MIMEBase # derived subtypes since none of them are, by definition, of content # type multipart/* raise Errors.MultipartConversionError( 'Cannot attach additional subparts to non-multipart/*') + + del __pychecker__ |