Mercurial > cpython-lru_cache-weakref
diff Doc/c-api/typeobj.rst @ 50821:df3fa40fdbed
Issue #4910, patch 3/3: rename nb_long to nb_reserved
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sat, 17 Jan 2009 10:04:45 +0000 |
| parents | a04b1c7167ba |
| children | 7bc8e2eed690 |
line wrap: on
line diff
--- a/Doc/c-api/typeobj.rst Sat Jan 17 09:45:37 2009 +0000 +++ b/Doc/c-api/typeobj.rst Sat Jan 17 10:04:45 2009 +0000 @@ -1057,7 +1057,7 @@ 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 @@ ``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:
