summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-17 10:04:45 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-17 10:04:45 (GMT)
commit8055afd0197862a3358fb219f5bb60233288fe02 (patch)
tree28f57e526a9cdc334a7684df302ca55da5bbf1ad /Doc
parent0bbcc4cf9853fe4864a481e303a9f8d22cf2dc36 (diff)
downloadcpython-8055afd0197862a3358fb219f5bb60233288fe02.zip
cpython-8055afd0197862a3358fb219f5bb60233288fe02.tar.gz
cpython-8055afd0197862a3358fb219f5bb60233288fe02.tar.bz2
Issue #4910, patch 3/3: rename nb_long to nb_reserved
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/typeobj.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 8355986..a7ba660 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -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: