summaryrefslogtreecommitdiffstats
path: root/Modules/_cursesmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-02 22:45:29 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-02 22:45:29 (GMT)
commit2662133a05d789de67aeaaad24aa86f49da95844 (patch)
tree221dc1dc36368f0e9fea53bb7fbe7c9abb5e3516 /Modules/_cursesmodule.c
parentf7ed9fc063cc4c11cfdf36b6c5023b984ed36b26 (diff)
downloadcpython-2662133a05d789de67aeaaad24aa86f49da95844.zip
cpython-2662133a05d789de67aeaaad24aa86f49da95844.tar.gz
cpython-2662133a05d789de67aeaaad24aa86f49da95844.tar.bz2
Issue #10570: curses.tigetstr() is now expecting a byte string, instead of a
Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r--Modules/_cursesmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 092fb69..4f7a525 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -2600,7 +2600,7 @@ PyCurses_tparm(PyObject *self, PyObject *args)
PyCursesSetupTermCalled;
- if (!PyArg_ParseTuple(args, "s|iiiiiiiii:tparm",
+ if (!PyArg_ParseTuple(args, "y|iiiiiiiii:tparm",
&fmt, &i1, &i2, &i3, &i4,
&i5, &i6, &i7, &i8, &i9)) {
return NULL;