mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Doc: add the missing ".tp_flags" in type definition (GH-12902)
This commit is contained in:
parent
9b21856b0f
commit
662ebd2ab2
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue