From 1781d55eb34f94029e50970232635fc5082378cb Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 21 Jan 2022 03:30:20 +0100 Subject: bpo-46417: _curses uses PyStructSequence_NewType() (GH-30736) The _curses module now creates its ncurses_version type as a heap type using PyStructSequence_NewType(), rather than using a static type. * Move _PyStructSequence_FiniType() definition to pycore_structseq.h. * test.pythoninfo: log curses.ncurses_version. --- Python/sysmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 515994f0490..7597ea2ea9e 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -27,7 +27,7 @@ Data members: #include "pycore_pylifecycle.h" // _PyErr_WriteUnraisableDefaultHook() #include "pycore_pymem.h" // _PyMem_SetDefaultAllocator() #include "pycore_pystate.h" // _PyThreadState_GET() -#include "pycore_structseq.h" // PyStructSequence_InitType() +#include "pycore_structseq.h" // _PyStructSequence_InitType() #include "pycore_tuple.h" // _PyTuple_FromArray() #include "code.h" -- cgit v1.2.3