summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-05-01 21:08:34 (GMT)
committerGitHub <noreply@github.com>2023-05-01 21:08:34 (GMT)
commit59bc36aacddd5a3acd32c80c0dfd0726135a7817 (patch)
tree820c3ab005019714344dadf0f10fa9c359ea30c7 /Python/thread.c
parentd448fcb0323bf00cb4ff4a1e65e8424a73b5f0d4 (diff)
downloadcpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.zip
cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.gz
cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.bz2
gh-84436: Immortalize in _PyStructSequence_InitBuiltinWithFlags() (gh-104054)
This also does some cleanup.
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread.c b/Python/thread.c
index 7fdedb0..f90cd34 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -7,7 +7,7 @@
#include "Python.h"
#include "pycore_pystate.h" // _PyInterpreterState_GET()
-#include "pycore_structseq.h" // _PyStructSequence_FiniType()
+#include "pycore_structseq.h" // _PyStructSequence_FiniBuiltin()
#include "pycore_pythread.h"
#ifndef DONT_HAVE_STDIO_H
@@ -195,5 +195,5 @@ _PyThread_FiniType(PyInterpreterState *interp)
return;
}
- _PyStructSequence_FiniType(&ThreadInfoType);
+ _PyStructSequence_FiniBuiltin(&ThreadInfoType);
}