summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-04-25 21:02:34 (GMT)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-04-25 21:02:34 (GMT)
commit436f1a2e0d88d87b0f074ac9d3fee0d4f36acbd1 (patch)
tree49cfd1eef095ed2b73a1347dca58e5bfdbe355a0
parentacc73b74b8daf5a603004e1494d11bfebfa6041b (diff)
downloadcpython-436f1a2e0d88d87b0f074ac9d3fee0d4f36acbd1.zip
cpython-436f1a2e0d88d87b0f074ac9d3fee0d4f36acbd1.tar.gz
cpython-436f1a2e0d88d87b0f074ac9d3fee0d4f36acbd1.tar.bz2
Issue #4129: field changed from int to Py_ssize_t.
-rw-r--r--Doc/c-api/typeobj.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index a320d9e..abcd115 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -64,6 +64,10 @@ type objects) *must* have the :attr:`ob_size` field.
This field is not inherited by subtypes.
+ .. versionchanged:: 2.5
+ This field used to be an :ctype:`int` type. This might require changes
+ in your code for properly supporting 64-bit systems.
+
.. cmember:: PyTypeObject* PyObject.ob_type