Jeroen Ruigrok van der Werven <asmo...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue4385> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com