aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xTools/clinic/clinic.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index f20fab61c4d..4b4ebb8313a 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -2820,8 +2820,6 @@ class bool_converter(CConverter):
def parse_arg(self, argname, displayname):
if self.format_unit == 'i':
- # XXX PyFloat_Check can be removed after the end of the
- # deprecation in _PyLong_FromNbIndexOrNbInt.
return """
{paramname} = _PyLong_AsInt({argname});
if ({paramname} == -1 && PyErr_Occurred()) {{{{