Skip to content

Commit 2cadd62

Browse files
Add the fields to static_builtin_state.
1 parent ea0aeff commit 2cadd62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Include/internal/pycore_typeobject.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ struct type_cache {
4444

4545
typedef struct {
4646
PyTypeObject *type;
47+
PyObject *tp_dict;
48+
PyObject *tp_bases;
49+
PyObject *tp_mro;
4750
PyObject *tp_subclasses;
4851
/* We never clean up weakrefs for static builtin types since
4952
they will effectively never get triggered. However, there

0 commit comments

Comments
 (0)