diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-02 22:45:29 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-02 22:45:29 (GMT) |
commit | 2662133a05d789de67aeaaad24aa86f49da95844 (patch) | |
tree | 221dc1dc36368f0e9fea53bb7fbe7c9abb5e3516 /Doc/library | |
parent | f7ed9fc063cc4c11cfdf36b6c5023b984ed36b26 (diff) | |
download | cpython-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 'Doc/library')
-rw-r--r-- | Doc/library/curses.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index 5470a10..f31b9c5 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -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. |