mirror of https://github.com/python/cpython
Remove an outdated comment. (GH-30010)
This commit is contained in:
parent
3363e1cb05
commit
d8a464ef03
|
@ -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()) {{{{
|
||||
|
|
Loading…
Reference in New Issue