summaryrefslogtreecommitdiffstats
path: root/Objects/sliceobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-26 22:12:32 (GMT)
committerGitHub <noreply@github.com>2019-08-26 22:12:32 (GMT)
commitbed4817d52d7b5a383b1b61269c1337b61acc493 (patch)
tree01f7e4deff50bacc84b2c5924e4e873f201cdc0f /Objects/sliceobject.c
parentd3cc189b17c86f670198aca109b5ffa2d526d87a (diff)
downloadcpython-bed4817d52d7b5a383b1b61269c1337b61acc493.zip
cpython-bed4817d52d7b5a383b1b61269c1337b61acc493.tar.gz
cpython-bed4817d52d7b5a383b1b61269c1337b61acc493.tar.bz2
Make PyXXX_Fini() functions private (GH-15531)
For example, rename PyTuple_Fini() to _PyTuple_Fini(). These functions are only declared in the internal C API.
Diffstat (limited to 'Objects/sliceobject.c')
-rw-r--r--Objects/sliceobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/sliceobject.c b/Objects/sliceobject.c
index 7c10eb6..e884a58 100644
--- a/Objects/sliceobject.c
+++ b/Objects/sliceobject.c
@@ -100,7 +100,8 @@ PyObject _Py_EllipsisObject = {
* created and then deleted again
*/
static PySliceObject *slice_cache = NULL;
-void PySlice_Fini(void)
+
+void _PySlice_Fini(void)
{
PySliceObject *obj = slice_cache;
if (obj != NULL) {