Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4101018 commit 993e88cCopy full SHA for 993e88c
1 file changed
Modules/_curses_panel.c
@@ -654,6 +654,7 @@ _curses_panel_exec(PyObject *mod)
654
if (state->PyCursesPanel_Type == NULL) {
655
return -1;
656
}
657
+ ((PyTypeObject *)state->PyCursesPanel_Type)->tp_new = NULL;
658
659
if (PyModule_AddType(mod, state->PyCursesPanel_Type) < 0) {
660
@@ -715,4 +716,4 @@ PyMODINIT_FUNC
715
716
PyInit__curses_panel(void)
717
{
718
return PyModuleDef_Init(&_curses_panelmodule);
-}
719
+}
0 commit comments