diff options
Diffstat (limited to 'Modules/_curses_panel.c')
-rw-r--r-- | Modules/_curses_panel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c index 313f83e..fc168e3 100644 --- a/Modules/_curses_panel.c +++ b/Modules/_curses_panel.c @@ -333,7 +333,8 @@ static PyMethodDef PyCursesPanel_Methods[] = { {"hidden", (PyCFunction)PyCursesPanel_panel_hidden}, {"hide", (PyCFunction)PyCursesPanel_hide_panel}, {"move", (PyCFunction)PyCursesPanel_move_panel}, - {"replace", (PyCFunction)PyCursesPanel_replace_panel}, + {"replace", (PyCFunction)PyCursesPanel_replace_panel, + METH_VARARGS}, {"set_userptr", (PyCFunction)PyCursesPanel_set_panel_userptr, METH_VARARGS}, {"show", (PyCFunction)PyCursesPanel_show_panel}, |