aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-05-01 15:08:34 -0600
committerGitHub <noreply@github.com>2023-05-01 15:08:34 -0600
commit59bc36aacddd5a3acd32c80c0dfd0726135a7817 (patch)
tree820c3ab005019714344dadf0f10fa9c359ea30c7 /Python/errors.c
parentgh-104057: Fix direct invocation of test_module (GH-104059) (diff)
downloadcpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.gz
cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.bz2
cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.zip
gh-84436: Immortalize in _PyStructSequence_InitBuiltinWithFlags() (gh-104054)
This also does some cleanup.
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 7fc267385c5..ce72049b92d 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -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);
}