mirror of
https://github.com/python/cpython.git
synced 2025-08-25 11:15:02 +00:00
bpo-38896: Remove PyUnicode_ClearFreeList() function (GH-17354)
Remove PyUnicode_ClearFreeList() function: the Unicode free list has been removed in Python 3.3.
This commit is contained in:
parent
14a89c4798
commit
d68b592dd6
7 changed files with 6 additions and 27 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue