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

View file

@ -2820,8 +2820,6 @@ def converter_init(self, *, accept={object}):
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()) {{{{