mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-128910: Remove _PyTrash_begin
and _PyTrash_end
C-API functions (#128919)
This commit is contained in:
parent
3893a92d95
commit
f48702dade
2 changed files with 2 additions and 3 deletions
|
@ -475,9 +475,6 @@ partially-deallocated object. To check this, the tp_dealloc function must be
|
|||
passed as second argument to Py_TRASHCAN_BEGIN().
|
||||
*/
|
||||
|
||||
/* Python 3.9 private API, invoked by the macros below. */
|
||||
PyAPI_FUNC(int) _PyTrash_begin(PyThreadState *tstate, PyObject *op);
|
||||
PyAPI_FUNC(void) _PyTrash_end(PyThreadState *tstate);
|
||||
|
||||
PyAPI_FUNC(void) _PyTrash_thread_deposit_object(PyThreadState *tstate, PyObject *op);
|
||||
PyAPI_FUNC(void) _PyTrash_thread_destroy_chain(PyThreadState *tstate);
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Undocumented and unused private C-API functions ``_PyTrash_begin`` and
|
||||
``_PyTrash_end`` are removed.
|
Loading…
Add table
Add a link
Reference in a new issue