summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-12-22 22:03:15 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-12-22 22:03:15 (GMT)
commitd7d2e199225e91c51b33ca80d4b339be8693bdc7 (patch)
tree7de45f8a839e5f91cb6c3f83c700018fcd0ea8b3 /Modules
parent9f5eeebb26f5c9022d98f27aadea559b100f914a (diff)
downloadcpython-d7d2e199225e91c51b33ca80d4b339be8693bdc7.zip
cpython-d7d2e199225e91c51b33ca80d4b339be8693bdc7.tar.gz
cpython-d7d2e199225e91c51b33ca80d4b339be8693bdc7.tar.bz2
Add correction caught by Thomas Gellekum (and sitting in my e-mail)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_curses_panel.c3
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},