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 743b537 commit 6c5db45Copy full SHA for 6c5db45
Modules/_curses_panel.c
@@ -447,7 +447,7 @@ PyCursesPanel_Dealloc(PyObject *self)
447
if (po->wo != NULL) {
448
Py_DECREF(po->wo);
449
if (remove_lop(po) < 0) {
450
- PyErr_Format(PyExc_RuntimeError, "__del__: no panel object to delete");
+ PyErr_SetString(PyExc_RuntimeError, "__del__: no panel object to delete");
451
PyErr_FormatUnraisable("Exception ignored in PyCursesPanel_Dealloc()");
452
}
453
0 commit comments