[issue4385] Py_Object_HEAD_INIT in Py3k
Jeroen Ruigrok van der Werven
report at bugs.python.org
Sat Apr 25 14:00:54 CEST 2009
Jeroen Ruigrok van der Werven <asmodai at in-nomine.org> added the comment:
I added initial documentation for both PyObject_HEAD_INIT and
PyVarObject_HEAD_INIT in r71874.
The text currently reads:
PyObject_HEAD_INIT(type)¶
This is a macro which expands to initialization values for a new
PyObject type. This macro expands to:
_PyObject_EXTRA_INIT
1, type,
PyVarObject_HEAD_INIT(type, size)¶
This is a macro which expands to initialization values for a new
PyVarObject type, including the ob_size field. This macro expands to:
_PyObject_EXTRA_INIT
1, type, size,
Of course my internals knowledge is little compared to you guys, so any
feedback to improve this is appreciated.
----------
nosy: +asmodai
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4385>
_______________________________________
More information about the Python-bugs-list
mailing list