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.
This commit is contained in:
Victor Stinner 2019-08-27 00:12:32 +02:00 committed by GitHub
parent d3cc189b17
commit bed4817d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 38 additions and 36 deletions

View file

@ -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) {