]> granicus.if.org Git - python/commitdiff
Add correction caught by Thomas Gellekum (and sitting in my e-mail)
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 22 Dec 2000 22:03:15 +0000 (22:03 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 22 Dec 2000 22:03:15 +0000 (22:03 +0000)
Modules/_curses_panel.c

index 313f83e7c6458ea22df17ac9c9c84a41f675c65e..fc168e3c75fe37f9ee2e96cd35b7797ce13f3c58 100644 (file)
@@ -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},