Doc: add the missing ".tp_flags" in type definition (GH-12902)

This commit is contained in:
Wu Wei 2019-04-22 19:08:20 +08:00 committed by Inada Naoki
parent 9b21856b0f
commit 662ebd2ab2
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ The second bit is the definition of the type object. ::
.tp_doc = "Custom objects",
.tp_basicsize = sizeof(CustomObject),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_new = PyType_GenericNew,
};