summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-10 07:05:44 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-10 07:05:44 (GMT)
commit88bbd73d0763bb4df48d45791dafbef76c2e17a5 (patch)
treebe74a99859ee5f4b03f91a643a683132d7f3cbd4 /Modules
parentfc76d633e8017fd948bc2363738cbdea41586e21 (diff)
downloadcpython-88bbd73d0763bb4df48d45791dafbef76c2e17a5.zip
cpython-88bbd73d0763bb4df48d45791dafbef76c2e17a5.tar.gz
cpython-88bbd73d0763bb4df48d45791dafbef76c2e17a5.tar.bz2
SF bug #1400822, Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()). Will backport.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_cursesmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 2d7f6e0..176f024 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -1163,7 +1163,7 @@ PyCursesWindow_Overlay(PyCursesWindowObject *self, PyObject *args)
return NULL;
break;
case 7:
- if (!PyArg_ParseTuple(args, "(O!iiiiii);window object, int, int, int, int, int, int",
+ if (!PyArg_ParseTuple(args, "O!iiiiii;window object, int, int, int, int, int, int",
&PyCursesWindow_Type, &temp, &sminrow, &smincol,
&dminrow, &dmincol, &dmaxrow, &dmaxcol))
return NULL;
@@ -1201,7 +1201,7 @@ PyCursesWindow_Overwrite(PyCursesWindowObject *self, PyObject *args)
return NULL;
break;
case 7:
- if (!PyArg_ParseTuple(args, "(O!iiiiii);window object, int, int, int, int, int, int",
+ if (!PyArg_ParseTuple(args, "O!iiiiii;window object, int, int, int, int, int, int",
&PyCursesWindow_Type, &temp, &sminrow, &smincol,
&dminrow, &dmincol, &dmaxrow, &dmaxcol))
return NULL;
@@ -1674,7 +1674,7 @@ PyCurses_UngetMouse(PyObject *self, PyObject *args)
MEVENT event;
PyCursesInitialised
- if (!PyArg_ParseTuple(args, "(hiiil)",
+ if (!PyArg_ParseTuple(args, "hiiil",
&event.id,
&event.x, &event.y, &event.z,
(int *) &event.bstate))