mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -566,7 +566,7 @@ The module :mod:`curses` defines the following functions:
|
|||
|
||||
Instantiate the string *str* with the supplied parameters, where *str* should
|
||||
be a parameterized string obtained from the terminfo database. E.g.
|
||||
``tparm(tigetstr("cup"), 5, 3)`` could result in ``'\033[6;4H'``, the exact
|
||||
``tparm(tigetstr("cup"), 5, 3)`` could result in ``b'\033[6;4H'``, the exact
|
||||
result depending on terminal type.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue