From d7d2e199225e91c51b33ca80d4b339be8693bdc7 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 22 Dec 2000 22:03:15 +0000 Subject: Add correction caught by Thomas Gellekum (and sitting in my e-mail) --- Modules/_curses_panel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}, -- cgit v0.12