summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-11-23 02:30:32 +0100
committerGitHub <noreply@github.com>2019-11-23 02:30:32 +0100
commitd68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 (patch)
tree8023c663b3c36f9026dbfb644953930117b46f4d /Include
parent14a89c47983f2fb9e7fdf33c769e622eefd3a14a (diff)
downloadcpython-git-d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113.tar.gz
bpo-38896: Remove PyUnicode_ClearFreeList() function (GH-17354)
Remove PyUnicode_ClearFreeList() function: the Unicode free list has been removed in Python 3.3.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 97d8cd12f6..4dea494218 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -328,17 +328,6 @@ PyAPI_FUNC(wchar_t*) PyUnicode_AsWideCharString(
PyAPI_FUNC(PyObject*) PyUnicode_FromOrdinal(int ordinal);
-/* --- Free-list management ----------------------------------------------- */
-
-/* Clear the free list used by the Unicode implementation.
-
- This can be used to release memory used for objects on the free
- list back to the Python memory allocator.
-
-*/
-
-PyAPI_FUNC(int) PyUnicode_ClearFreeList(void);
-
/* === Builtin Codecs =====================================================
Many of these APIs take two arguments encoding and errors. These