mirror of https://github.com/python/cpython.git
Remove an outdated comment. (GH-30010)
This commit is contained in:
parent
3363e1cb05
commit
d8a464ef03
|
@ -2820,8 +2820,6 @@ def converter_init(self, *, accept={object}):
|
||||||
|
|
||||||
def parse_arg(self, argname, displayname):
|
def parse_arg(self, argname, displayname):
|
||||||
if self.format_unit == 'i':
|
if self.format_unit == 'i':
|
||||||
# XXX PyFloat_Check can be removed after the end of the
|
|
||||||
# deprecation in _PyLong_FromNbIndexOrNbInt.
|
|
||||||
return """
|
return """
|
||||||
{paramname} = _PyLong_AsInt({argname});
|
{paramname} = _PyLong_AsInt({argname});
|
||||||
if ({paramname} == -1 && PyErr_Occurred()) {{{{
|
if ({paramname} == -1 && PyErr_Occurred()) {{{{
|
||||||
|
|
Loading…
Reference in New Issue