summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-11-23 01:30:32 (GMT)
committerGitHub <noreply@github.com>2019-11-23 01:30:32 (GMT)
commitd68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 (patch)
tree8023c663b3c36f9026dbfb644953930117b46f4d /Include/unicodeobject.h
parent14a89c47983f2fb9e7fdf33c769e622eefd3a14a (diff)
downloadcpython-d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113.zip
cpython-d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113.tar.gz
cpython-d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113.tar.bz2
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/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 97d8cd1..4dea494 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