mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Added clear cache methods to clear the internal type lookup cache for ref leak test runs.
This commit is contained in:
parent
3ea7b41b58
commit
908caac52e
8 changed files with 55 additions and 0 deletions
|
@ -399,6 +399,7 @@ PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
|
|||
PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
|
||||
PyObject *, PyObject *);
|
||||
PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *, PyObject *);
|
||||
PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
|
||||
|
||||
/* Generic operations on objects */
|
||||
PyAPI_FUNC(int) PyObject_Print(PyObject *, FILE *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue