From: Andrew M. Kuchling Date: Fri, 22 Dec 2000 22:03:15 +0000 (+0000) Subject: Add correction caught by Thomas Gellekum (and sitting in my e-mail) X-Git-Tag: v2.1a1~494 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7d2e199225e91c51b33ca80d4b339be8693bdc7;p=python Add correction caught by Thomas Gellekum (and sitting in my e-mail) --- diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c index 313f83e7c6..fc168e3c75 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},