mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-129033: Remove _Py_InitializeMain() function (#129034)
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
This commit is contained in:
parent
c463270c73
commit
07c3518ffb
7 changed files with 15 additions and 153 deletions
|
@ -1505,18 +1505,6 @@ Py_Initialize(void)
|
|||
}
|
||||
|
||||
|
||||
PyStatus
|
||||
_Py_InitializeMain(void)
|
||||
{
|
||||
PyStatus status = _PyRuntime_Initialize();
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
return status;
|
||||
}
|
||||
PyThreadState *tstate = _PyThreadState_GET();
|
||||
return pyinit_main(tstate);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
finalize_modules_delete_special(PyThreadState *tstate, int verbose)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue