From: Guido van Rossum Date: Sun, 15 Apr 2001 13:06:04 +0000 (+0000) Subject: Fix typo in exception name (UnimplementedError should be X-Git-Tag: v2.1c2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8b45eac7118cdfb8b9f87c31718023fe5ed29e1;p=thirdparty%2FPython%2Fcpython.git Fix typo in exception name (UnimplementedError should be NotImplementedError) found by Neil Norwitz's PyChecker. --- diff --git a/Lib/smtpd.py b/Lib/smtpd.py index b5db3b0e0914..fffc2295194e 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):