mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
Remove an outdated comment. (GH-30010)
This commit is contained in:
parent
3363e1cb05
commit
d8a464ef03
1 changed files with 0 additions and 2 deletions
|
@ -2820,8 +2820,6 @@ class bool_converter(CConverter):
|
||||||
|
|
||||||
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…
Add table
Add a link
Reference in a new issue