summaryrefslogtreecommitdiffstats
path: root/Tools/clinic
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-12-09 18:44:36 (GMT)
committerGitHub <noreply@github.com>2021-12-09 18:44:36 (GMT)
commitd8a464ef0380692975d73a3a1513d901b6af8e65 (patch)
tree4c37c37212b463519113cb9e92d24ea20805f09f /Tools/clinic
parent3363e1cb05d0d19ed172ea63606d8cb6268747fc (diff)
downloadcpython-d8a464ef0380692975d73a3a1513d901b6af8e65.zip
cpython-d8a464ef0380692975d73a3a1513d901b6af8e65.tar.gz
cpython-d8a464ef0380692975d73a3a1513d901b6af8e65.tar.bz2
Remove an outdated comment. (GH-30010)
Diffstat (limited to 'Tools/clinic')
-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 f20fab6..4b4ebb8 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()) {{{{