summaryrefslogtreecommitdiffstats
path: root/Tools/clinic
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-04-08 07:51:20 (GMT)
committerGitHub <noreply@github.com>2024-04-08 07:51:20 (GMT)
commite1eeb990bd169491075eeaea31481a4a96bdecbb (patch)
tree9e6732710f3ae75e9da7d791b894759e25953256 /Tools/clinic
parenta453f5ef9d0b89bd00488d3814c6f0a2886342b8 (diff)
downloadcpython-e1eeb990bd169491075eeaea31481a4a96bdecbb.zip
cpython-e1eeb990bd169491075eeaea31481a4a96bdecbb.tar.gz
cpython-e1eeb990bd169491075eeaea31481a4a96bdecbb.tar.bz2
gh-113317: Remove unused INVALID constant in Argument Clinic (#117624)
Diffstat (limited to 'Tools/clinic')
-rw-r--r--Tools/clinic/libclinic/function.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/clinic/libclinic/function.py b/Tools/clinic/libclinic/function.py
index 1563fdf..572916b 100644
--- a/Tools/clinic/libclinic/function.py
+++ b/Tools/clinic/libclinic/function.py
@@ -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