summaryrefslogtreecommitdiff
path: root/Objects/sliceobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-27 00:12:32 +0200
committerGitHub <noreply@github.com>2019-08-27 00:12:32 +0200
commitbed4817d52d7b5a383b1b61269c1337b61acc493 (patch)
tree01f7e4deff50bacc84b2c5924e4e873f201cdc0f /Objects/sliceobject.c
parentd3cc189b17c86f670198aca109b5ffa2d526d87a (diff)
downloadcpython-git-bed4817d52d7b5a383b1b61269c1337b61acc493.tar.gz
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 7c10eb6f63..e884a58943 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) {