We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8b366 commit 88c5f3fCopy full SHA for 88c5f3f
Doc/extending/newtypes.rst
@@ -563,7 +563,7 @@ be left as zero.
563
Concretely, here is how the statically declared type object would look::
564
565
static PyTypeObject TrivialType = {
566
- .ob_base = PyVarObject_HEAD_INIT(NULL, 0)
+ PyVarObject_HEAD_INIT(NULL, 0)
567
/* ... other members omitted for brevity ... */
568
.tp_flags = Py_TPFLAGS_MANAGED_WEAKREF | ...,
569
};
0 commit comments