]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove an outdated comment. (GH-30010)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 9 Dec 2021 18:44:36 +0000 (20:44 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Dec 2021 18:44:36 +0000 (20:44 +0200)
Tools/clinic/clinic.py

index f20fab61c4de8e9e126d6787189992b74950ff41..4b4ebb8313adca7a01814d58d247d76bc57dfd6c 100755 (executable)
@@ -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()) {{{{