]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
raise NotImplememtedError, not NotImplemented
authorBob Halley <halley@dnspython.org>
Wed, 20 May 2020 14:16:10 +0000 (07:16 -0700)
committerBob Halley <halley@dnspython.org>
Wed, 20 May 2020 14:16:10 +0000 (07:16 -0700)
dns/enum.py

index 62b4a446585d2838dffeb5e75c84fa5333952ef0..5bc46fedcec899d7ced9a5ffd4cfe9d3bfd1dff2 100644 (file)
@@ -62,7 +62,7 @@ class IntEnum(enum.IntEnum):
 
     @classmethod
     def _maximum(cls):
-        raise NotImplemented
+        raise NotImplementedError
 
     @classmethod
     def _short_name(cls):