Thanks to visit codestin.com Credit goes to github.com
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 9b21856 commit 662ebd2Copy full SHA for 662ebd2
1 file changed
Doc/extending/newtypes_tutorial.rst
@@ -92,6 +92,7 @@ The second bit is the definition of the type object. ::
92
.tp_doc = "Custom objects",
93
.tp_basicsize = sizeof(CustomObject),
94
.tp_itemsize = 0,
95
+ .tp_flags = Py_TPFLAGS_DEFAULT,
96
.tp_new = PyType_GenericNew,
97
};
98
0 commit comments