mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-94673: Add Per-Interpreter tp_subclasses for Static Builtin Types (gh-95301)
This commit is contained in:
parent
e1182bc377
commit
87154d8dd8
8 changed files with 120 additions and 31 deletions
|
@ -351,6 +351,7 @@ _PyDictOrValues_SetValues(PyDictOrValues *ptr, PyDictValues *values)
|
|||
extern PyObject ** _PyObject_ComputedDictPointer(PyObject *);
|
||||
extern void _PyObject_FreeInstanceAttributes(PyObject *obj);
|
||||
extern int _PyObject_IsInstanceDictEmpty(PyObject *);
|
||||
extern int _PyType_HasSubclasses(PyTypeObject *);
|
||||
extern PyObject* _PyType_GetSubclasses(PyTypeObject *);
|
||||
|
||||
// Access macro to the members which are floating "behind" the object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue