mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-84436: Immortalize in _PyStructSequence_InitBuiltinWithFlags() (gh-104054)
This also does some cleanup.
This commit is contained in:
parent
d448fcb032
commit
59bc36aacd
8 changed files with 74 additions and 59 deletions
|
@ -6,7 +6,7 @@
|
|||
#include "pycore_initconfig.h" // _PyStatus_ERR()
|
||||
#include "pycore_pyerrors.h" // _PyErr_Format()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_structseq.h" // _PyStructSequence_FiniType()
|
||||
#include "pycore_structseq.h" // _PyStructSequence_FiniBuiltin()
|
||||
#include "pycore_sysmodule.h" // _PySys_Audit()
|
||||
#include "pycore_traceback.h" // _PyTraceBack_FromFrame()
|
||||
|
||||
|
@ -1357,7 +1357,7 @@ _PyErr_FiniTypes(PyInterpreterState *interp)
|
|||
return;
|
||||
}
|
||||
|
||||
_PyStructSequence_FiniType(&UnraisableHookArgsType);
|
||||
_PyStructSequence_FiniBuiltin(&UnraisableHookArgsType);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue