mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #4910: replace "long" with "int" in docstring for __long__ slot and
in documentation for PyNumber_Long.
This commit is contained in:
parent
30bf122841
commit
d746768d3a
3 changed files with 7 additions and 16 deletions
|
@ -5444,7 +5444,7 @@ static slotdef slotdefs[] = {
|
|||
UNSLOT("__int__", nb_int, slot_nb_int, wrap_unaryfunc,
|
||||
"int(x)"),
|
||||
UNSLOT("__long__", nb_long, slot_nb_long, wrap_unaryfunc,
|
||||
"long(x)"),
|
||||
"int(x)"),
|
||||
UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,
|
||||
"float(x)"),
|
||||
NBSLOT("__index__", nb_index, slot_nb_index, wrap_unaryfunc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue