diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 893ccaa..d3f97be 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -2311,13 +2311,13 @@ PyCurses_tparm(PyObject *self, PyObject *args) } #if defined(__hpux) || defined(_AIX) - /* tparm is declared with 10 arguments on a few platforms + /* tparm is declared with 10 arguments on a few platforms (HP-UX, AIX). If this proves to be a problem on other platforms as well, perhaps an autoconf test should be added to determine whether tparm can be called with a variable number of arguments. Perhaps the other arguments should be initialized in this case also. */ - result = tparm(fmt,i1,i2,i3,i4,i5,i6,i7,i8,i9); + result = tparm(fmt,i1,i2,i3,i4,i5,i6,i7,i8,i9); #else switch (PyTuple_GET_SIZE(args)) { case 1: |