summaryrefslogtreecommitdiff
path: root/Include/cpython/unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-05-14 01:11:54 +0200
committerGitHub <noreply@github.com>2020-05-14 01:11:54 +0200
commitd6fb53fe42d83a10f1372dd92ffaa6a01d2feffb (patch)
treed8ad748d0965c536d7cf2139f6ca1e6cf25c6d75 /Include/cpython/unicodeobject.h
parentd72ea605218bbee6ae46648997d9bb76d0fba460 (diff)
downloadcpython-git-d6fb53fe42d83a10f1372dd92ffaa6a01d2feffb.tar.gz
bpo-39465: Remove _PyUnicode_ClearStaticStrings() from C API (GH-20078)
Remove the _PyUnicode_ClearStaticStrings() function from the C API. Make the function fully private (declare it with "static").
Diffstat (limited to 'Include/cpython/unicodeobject.h')
-rw-r--r--Include/cpython/unicodeobject.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h
index 9432687629..4fd674ffea 100644
--- a/Include/cpython/unicodeobject.h
+++ b/Include/cpython/unicodeobject.h
@@ -1215,8 +1215,6 @@ Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy(
/* Return an interned Unicode object for an Identifier; may fail if there is no memory.*/
PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*);
-/* Clear all static strings. */
-PyAPI_FUNC(void) _PyUnicode_ClearStaticStrings(void);
/* Fast equality check when the inputs are known to be exact unicode types
and where the hash values are equal (i.e. a very probable match) */