summaryrefslogtreecommitdiffstats
path: root/Doc/library/curses.ascii.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-04 19:44:13 (GMT)
committerGitHub <noreply@github.com>2017-10-04 19:44:13 (GMT)
commit300dd552b15825abfe0e367ac14cec4c3e050dbc (patch)
tree9365ab1dd6ccac99b4132e6cd6298266aebc6926 /Doc/library/curses.ascii.rst
parentdb12ef7e8ac6a8a6f8b4830701558b9abfd108fc (diff)
downloadcpython-300dd552b15825abfe0e367ac14cec4c3e050dbc.zip
cpython-300dd552b15825abfe0e367ac14cec4c3e050dbc.tar.gz
cpython-300dd552b15825abfe0e367ac14cec4c3e050dbc.tar.bz2
bpo-30872: Update the curses docs to Python 3. (#2620)
Diffstat (limited to 'Doc/library/curses.ascii.rst')
-rw-r--r--Doc/library/curses.ascii.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/Doc/library/curses.ascii.rst b/Doc/library/curses.ascii.rst
index b6ac251..04b2a26 100644
--- a/Doc/library/curses.ascii.rst
+++ b/Doc/library/curses.ascii.rst
@@ -176,14 +176,12 @@ C library:
Checks for a non-ASCII character (ordinal values 0x80 and above).
-These functions accept either integers or strings; when the argument is a
+These functions accept either integers or single-character strings; when the argument is a
string, it is first converted using the built-in function :func:`ord`.
-Note that all these functions check ordinal bit values derived from the first
+Note that all these functions check ordinal bit values derived from the
character of the string you pass in; they do not actually know anything about
-the host machine's character encoding. For functions that know about the
-character encoding (and handle internationalization properly) see the
-:mod:`string` module.
+the host machine's character encoding.
The following two functions take either a single-character string or integer
byte value; they return a value of the same type.