mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #4910, patch 3/3: rename nb_long to nb_reserved
This commit is contained in:
parent
0bbcc4cf98
commit
8055afd019
12 changed files with 19 additions and 14 deletions
|
@ -1057,7 +1057,7 @@ Number Object Structures
|
|||
binaryfunc nb_xor;
|
||||
binaryfunc nb_or;
|
||||
unaryfunc nb_int;
|
||||
unaryfunc nb_long;
|
||||
void *nb_reserved;
|
||||
unaryfunc nb_float;
|
||||
|
||||
binaryfunc nb_inplace_add;
|
||||
|
@ -1088,6 +1088,12 @@ Number Object Structures
|
|||
``Py_NotImplemented``, if another error occurred they must return ``NULL``
|
||||
and set an exception.
|
||||
|
||||
.. note::
|
||||
|
||||
The :cdata:`nb_reserved` field should always be ``NULL``. It
|
||||
was previously called :cdata:`nb_long`, and was renamed in
|
||||
Python 3.0.1.
|
||||
|
||||
|
||||
.. _mapping-structs:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue