Remove an outdated comment. (GH-30010)

This commit is contained in:
Serhiy Storchaka 2021-12-09 20:44:36 +02:00 committed by GitHub
parent 3363e1cb05
commit d8a464ef03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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()) {{{{