diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-04-29 02:41:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 02:41:56 (GMT) |
commit | bb4a585d903e7fe0a46ded8c2ee3f47435ad6a66 (patch) | |
tree | 96f56538ad480aaf2b5d1fbd04ebebdacdfd454d /Doc | |
parent | 6d6508765514c7c10719478a0430f5e47c9a96ac (diff) | |
download | cpython-bb4a585d903e7fe0a46ded8c2ee3f47435ad6a66.zip cpython-bb4a585d903e7fe0a46ded8c2ee3f47435ad6a66.tar.gz cpython-bb4a585d903e7fe0a46ded8c2ee3f47435ad6a66.tar.bz2 |
bpo-40428: Remove references to Py*_ClearFreeList in the docs (GH-19783)
They were removed from the C API in commit
ae00a5a88534fd45939f86c12e038da9fa6f9ed6.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/contextvars.rst | 5 | ||||
-rw-r--r-- | Doc/c-api/dict.rst | 7 | ||||
-rw-r--r-- | Doc/c-api/float.rst | 5 | ||||
-rw-r--r-- | Doc/c-api/list.rst | 7 | ||||
-rw-r--r-- | Doc/c-api/method.rst | 6 | ||||
-rw-r--r-- | Doc/c-api/set.rst | 7 | ||||
-rw-r--r-- | Doc/c-api/tuple.rst | 5 |
7 files changed, 0 insertions, 42 deletions
diff --git a/Doc/c-api/contextvars.rst b/Doc/c-api/contextvars.rst index 38256a3..9c08881 100644 --- a/Doc/c-api/contextvars.rst +++ b/Doc/c-api/contextvars.rst @@ -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: diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index e48c11d..2fb29cd 100644 --- a/Doc/c-api/dict.rst +++ b/Doc/c-api/dict.rst @@ -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 diff --git a/Doc/c-api/float.rst b/Doc/c-api/float.rst index bfc28a7..b29937d 100644 --- a/Doc/c-api/float.rst +++ b/Doc/c-api/float.rst @@ -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. diff --git a/Doc/c-api/list.rst b/Doc/c-api/list.rst index b247cdf..0bc0785 100644 --- a/Doc/c-api/list.rst +++ b/Doc/c-api/list.rst @@ -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 diff --git a/Doc/c-api/method.rst b/Doc/c-api/method.rst index b1862d7..0a5341c 100644 --- a/Doc/c-api/method.rst +++ b/Doc/c-api/method.rst @@ -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. - diff --git a/Doc/c-api/set.rst b/Doc/c-api/set.rst index 54819e8f..879f394 100644 --- a/Doc/c-api/set.rst +++ b/Doc/c-api/set.rst @@ -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 diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst index 62bc9a5..c14cb2d 100644 --- a/Doc/c-api/tuple.rst +++ b/Doc/c-api/tuple.rst @@ -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 ----------------------- |