diff options
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r-- | Objects/typeobject.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 5ebff60..8510196 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -6650,6 +6650,14 @@ PyType_Ready(PyTypeObject *type) return 0; } +int +_PyStaticType_InitBuiltin(PyTypeObject *self) +{ + self->tp_flags = self->tp_flags | _Py_TPFLAGS_STATIC_BUILTIN; + + return PyType_Ready(self); +} + static int add_subclass(PyTypeObject *base, PyTypeObject *type) |