summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-02 22:47:58 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-02 22:47:58 (GMT)
commitdf5bccc8a3adfe79e93bbc62bc24b3a95d57b3ac (patch)
treecd0889e89ba7fe709def04a3b8e5a66879a310dd /Modules
parent2787ea41fd11b8e0a0514e13b61af8e12764a8f6 (diff)
parent2662133a05d789de67aeaaad24aa86f49da95844 (diff)
downloadcpython-df5bccc8a3adfe79e93bbc62bc24b3a95d57b3ac.zip
cpython-df5bccc8a3adfe79e93bbc62bc24b3a95d57b3ac.tar.gz
cpython-df5bccc8a3adfe79e93bbc62bc24b3a95d57b3ac.tar.bz2
(Merge 3.2) 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')
-rw-r--r--Modules/_cursesmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 8790243..cc42f4b 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -2642,7 +2642,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;