Kaydet (Commit) b8b45eac authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix typo in exception name (UnimplementedError should be

NotImplementedError) found by Neil Norwitz's PyChecker.
üst 74cde5bb
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment