diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-21 02:30:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 02:30:20 (GMT) |
commit | 1781d55eb34f94029e50970232635fc5082378cb (patch) | |
tree | 613d5c847480facfe411345b4a61ee3239950e53 /Python/sysmodule.c | |
parent | 17f268a4ae6190b2659c89c6f32ad2d006e0e3c8 (diff) | |
download | cpython-1781d55eb34f94029e50970232635fc5082378cb.zip cpython-1781d55eb34f94029e50970232635fc5082378cb.tar.gz cpython-1781d55eb34f94029e50970232635fc5082378cb.tar.bz2 |
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.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 515994f..7597ea2 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" |