Skip to content

bpo-40428: Remove references to Py*_ClearFreeList in the docs #19783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions Doc/c-api/contextvars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ Context object management functions:
current context for the current thread. Returns ``0`` on success,
and ``-1`` on error.

.. c:function:: int PyContext_ClearFreeList()

Clear the context variable free list. Return the total number of
freed items. This function always succeeds.


Context variable functions:

Expand Down
7 changes: 0 additions & 7 deletions Doc/c-api/dict.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,3 @@ Dictionary Objects
for key, value in seq2:
if override or key not in a:
a[key] = value


.. c:function:: int PyDict_ClearFreeList()

Clear the free list. Return the total number of freed items.

.. versionadded:: 3.3
5 changes: 0 additions & 5 deletions Doc/c-api/float.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,3 @@ Floating Point Objects
.. c:function:: double PyFloat_GetMin()

Return the minimum normalized positive float *DBL_MIN* as C :c:type:`double`.

.. c:function:: int PyFloat_ClearFreeList()

Clear the float free list. Return the number of items that could not
be freed.
7 changes: 0 additions & 7 deletions Doc/c-api/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,3 @@ List Objects

Return a new tuple object containing the contents of *list*; equivalent to
``tuple(list)``.


.. c:function:: int PyList_ClearFreeList()

Clear the free list. Return the total number of freed items.

.. versionadded:: 3.3
6 changes: 0 additions & 6 deletions Doc/c-api/method.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,3 @@ no longer available.
.. c:function:: PyObject* PyMethod_GET_SELF(PyObject *meth)

Macro version of :c:func:`PyMethod_Self` which avoids error checking.


.. c:function:: int PyMethod_ClearFreeList()

Clear the free list. Return the total number of freed items.

7 changes: 0 additions & 7 deletions Doc/c-api/set.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,3 @@ subtypes but not for instances of :class:`frozenset` or its subtypes.
.. c:function:: int PySet_Clear(PyObject *set)

Empty an existing set of all elements.


.. c:function:: int PySet_ClearFreeList()

Clear the free list. Return the total number of freed items.

.. versionadded:: 3.3
5 changes: 0 additions & 5 deletions Doc/c-api/tuple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ Tuple Objects
raises :exc:`MemoryError` or :exc:`SystemError`.


.. c:function:: int PyTuple_ClearFreeList()

Clear the free list. Return the total number of freed items.


Struct Sequence Objects
-----------------------

Expand Down