summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.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/longobject.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/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 74037be..475b9bd 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -5869,7 +5869,7 @@ _PyLong_Init(void)
}
void
-PyLong_Fini(void)
+_PyLong_Fini(void)
{
/* Integers are currently statically allocated. Py_DECREF is not
needed, but Python must forget about the reference or multiple