diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-08-26 22:12:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 22:12:32 (GMT) |
commit | bed4817d52d7b5a383b1b61269c1337b61acc493 (patch) | |
tree | 01f7e4deff50bacc84b2c5924e4e873f201cdc0f /Objects/methodobject.c | |
parent | d3cc189b17c86f670198aca109b5ffa2d526d87a (diff) | |
download | cpython-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/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index b997746..7d70cc0 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -319,7 +319,7 @@ PyCFunction_ClearFreeList(void) } void -PyCFunction_Fini(void) +_PyCFunction_Fini(void) { (void)PyCFunction_ClearFreeList(); } |