mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-45316: Move _PyArg_Fini() to internal C API (GH-31580)
Move the private unexported _PyArg_Fini() function to the internal C API: to the pycore_pylifecycle.h header file.
This commit is contained in:
parent
8f2a337a80
commit
f780d9690f
4 changed files with 3 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_tuple.h" // _PyTuple_ITEMS()
|
||||
#include "pycore_pylifecycle.h" // _PyArg_Fini
|
||||
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
|
|
|
|||
|
|
@ -829,7 +829,7 @@ pycore_interp_init(PyThreadState *tstate)
|
|||
// Intern strings in deep-frozen modules first so that others
|
||||
// can use it instead of creating a heap allocated string.
|
||||
_Py_Deepfreeze_Init();
|
||||
|
||||
|
||||
status = pycore_init_types(interp);
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue