Commits

Guido van Rossum  committed 01be083

Fix typo in exception name (UnimplementedError should be
NotImplementedError) found by Neil Norwitz's PyChecker.

  • Participants
  • Parent commits 0f5a26a
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/smtpd.py

 # 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.
         otherwise it returns the desired response string in RFC 821 format.
 
         """
-        raise UnimplementedError
+        raise NotImplementedError
 
 
 class DebuggingServer(SMTPServer):