mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
(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.
This commit is contained in:
commit
df5bccc8a3
4 changed files with 11 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue