Issue #4910, patch 3/3: rename nb_long to nb_reserved

This commit is contained in:
Mark Dickinson 2009-01-17 10:04:45 +00:00
parent 0bbcc4cf98
commit 8055afd019
12 changed files with 19 additions and 14 deletions

View file

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