gh-113317: Remove unused INVALID constant in Argument Clinic (#117624)

This commit is contained in:
Victor Stinner 2024-04-08 09:51:20 +02:00 • committed by GitHub
parent a453f5ef9d
commit e1eeb990bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View file

@ -53,7 +53,6 @@ class Class:
class FunctionKind(enum.Enum):
INVALID = enum.auto()
CALLABLE = enum.auto()
STATIC_METHOD = enum.auto()
CLASS_METHOD = enum.auto()
@ -70,7 +69,6 @@ class FunctionKind(enum.Enum):
return f"<clinic.FunctionKind.{self.name}>"
INVALID: Final = FunctionKind.INVALID
CALLABLE: Final = FunctionKind.CALLABLE
STATIC_METHOD: Final = FunctionKind.STATIC_METHOD
CLASS_METHOD: Final = FunctionKind.CLASS_METHOD