Issue #4910: replace "long" with "int" in docstring for __long__ slot and

in documentation for PyNumber_Long.
This commit is contained in:
Mark Dickinson 2009-01-10 22:14:33 +00:00
parent 30bf122841
commit d746768d3a
3 changed files with 7 additions and 16 deletions

View file

@ -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,