diff options
author | Victor Stinner <vstinner@python.org> | 2019-11-23 01:30:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-23 01:30:32 (GMT) |
commit | d68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 (patch) | |
tree | 8023c663b3c36f9026dbfb644953930117b46f4d /Objects | |
parent | 14a89c47983f2fb9e7fdf33c769e622eefd3a14a (diff) | |
download | cpython-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 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 89e45d0..7776019 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -15332,14 +15332,6 @@ _PyUnicode_Init(void) return _PyStatus_OK(); } -/* Finalize the Unicode implementation */ - -int -PyUnicode_ClearFreeList(void) -{ - return 0; -} - void PyUnicode_InternInPlace(PyObject **p) @@ -15951,7 +15943,6 @@ _PyUnicode_Fini(PyThreadState *tstate) Py_CLEAR(unicode_latin1[i]); } _PyUnicode_ClearStaticStrings(); - (void)PyUnicode_ClearFreeList(); } PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE(); |