Commit 662ebd2a authored by Wu Wei's avatar Wu Wei Committed by Inada Naoki

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

parent 9b21856b
......@@ -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,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment