]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40428: Remove references to Py*_ClearFreeList in the docs (GH-19783)
authorZackery Spytz <zspytz@gmail.com>
Wed, 29 Apr 2020 02:41:56 +0000 (20:41 -0600)
committerGitHub <noreply@github.com>
Wed, 29 Apr 2020 02:41:56 +0000 (04:41 +0200)
They were removed from the C API in commit
ae00a5a88534fd45939f86c12e038da9fa6f9ed6.

Doc/c-api/contextvars.rst
Doc/c-api/dict.rst
Doc/c-api/float.rst
Doc/c-api/list.rst
Doc/c-api/method.rst
Doc/c-api/set.rst
Doc/c-api/tuple.rst

index 38256a3b0f2a06d05646344c3be2cf3e6c0f5fc1..9c088814314a81404c7c4d580f9a9a809ab4a8c3 100644 (file)
@@ -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:
 
index e48c11d336b8ce8e024bab0736733313f8573e0f..2fb29cdd617789c3b36cfead7d2e189501c1dbae 100644 (file)
@@ -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
index bfc28a79ecfdc7a4fe092aeec04c6fc053da82f3..b29937dbecdcfdac966de4d6468c77a0fc65fa3a 100644 (file)
@@ -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.
index b247cdfba0187e73bf8218d91a79f53225d72cde..0bc0785f200d4cf5f6e9c683f1b30a25e8a4f9fc 100644 (file)
@@ -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
index b1862d796c9f4125fb49c0d0d1321b4ab9f3f32a..0a5341cbbdf15293c83d57b5b0219a853fed12a7 100644 (file)
@@ -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.
-
index 54819e8fd6cbdc6ffb2410c8697e6106bb97040a..879f394d966cd07461c253e08bd8b5165cf0254a 100644 (file)
@@ -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
index 62bc9a565071d340f3a9508d102a6fe216b71b2d..c14cb2d38fd54abfe0016132e466e59fd48fe5fc 100644 (file)
@@ -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
 -----------------------