Skip to content
Prev Previous commit
Next Next commit
fix issue
  • Loading branch information
koubaa committed Sep 7, 2020
commit f4274ed059493f83e9355d3a5dab6837093ba465
8 changes: 3 additions & 5 deletions Modules/_curses_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,19 +557,17 @@ _curses_panel_bottom_panel_impl(PyObject *module)
/*[clinic input]
_curses_panel.new_panel

cls: defining_class
win: object(type="PyCursesWindowObject *", subclass_of="&PyCursesWindow_Type")
/

Return a panel object, associating it with the given window win.
[clinic start generated code]*/

static PyObject *
_curses_panel_new_panel_impl(PyObject *module, PyTypeObject *cls,
PyCursesWindowObject *win)
/*[clinic end generated code: output=367de29657788b50 input=5814b695dc719da1]*/
_curses_panel_new_panel_impl(PyObject *module, PyCursesWindowObject *win)
/*[clinic end generated code: output=45e948e0176a9bd2 input=74d4754e0ebe4800]*/
{
_curses_panelstate *state = PyType_GetModuleState(cls);
_curses_panelstate *state = get_curses_panelstate(module);

PANEL *pan = new_panel(win->win);
if (pan == NULL) {
Expand Down
18 changes: 8 additions & 10 deletions Modules/clinic/_curses_panel.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.