summaryrefslogtreecommitdiffstats
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-15 13:06:04 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-15 13:06:04 (GMT)
commitb8b45eac7118cdfb8b9f87c31718023fe5ed29e1 (patch)
tree8d1190c381eaccc9ce2bf91e8139e0f69be650fa /Lib/smtpd.py
parent74cde5bb3eea5187b199454ab275fe7cbb6e69b6 (diff)
downloadcpython-b8b45eac7118cdfb8b9f87c31718023fe5ed29e1.zip
cpython-b8b45eac7118cdfb8b9f87c31718023fe5ed29e1.tar.gz
cpython-b8b45eac7118cdfb8b9f87c31718023fe5ed29e1.tar.bz2
Fix typo in exception name (UnimplementedError should be
NotImplementedError) found by Neil Norwitz's PyChecker.
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-xLib/smtpd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py
index b5db3b0..fffc229 100755
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -38,7 +38,7 @@ Version: %(__version__)s
# has a hierarchy of classes which implement the backend functionality for the
# smtpd. A number of classes are provided:
#
-# SMTPServer - the base class for the backend. Raises an UnimplementedError
+# SMTPServer - the base class for the backend. Raises NotImplementedError
# if you try to use it.
#
# DebuggingServer - simply prints each message it receives on stdout.
@@ -309,7 +309,7 @@ class SMTPServer(asyncore.dispatcher):
otherwise it returns the desired response string in RFC 821 format.
"""
- raise UnimplementedError
+ raise NotImplementedError
class DebuggingServer(SMTPServer):