]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23710: Update PyObject_HEAD documentation
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 3 Aug 2016 09:58:49 +0000 (12:58 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 3 Aug 2016 09:58:49 +0000 (12:58 +0300)
commitbed6891c7761888a2ea7b46c7b703c942e14091b
tree862e0c7f14e5b3ecadbb473f8a61ecc1d8be8079
parent9de620e970230a7c4fc933fcdfe292260670eb25
Issue #23710: Update PyObject_HEAD documentation

Since PEP 3123, PyObject_HEAD only has one field named ob_base.
Users now need to use the Py_TYPE macro instead of self->ob_type.

Initial patch by Ammar Askar.
Doc/extending/newtypes.rst