diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2017-10-04 22:44:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-04 22:44:13 +0300 |
| commit | 300dd552b15825abfe0e367ac14cec4c3e050dbc (patch) | |
| tree | 9365ab1dd6ccac99b4132e6cd6298266aebc6926 /Doc/library/curses.ascii.rst | |
| parent | db12ef7e8ac6a8a6f8b4830701558b9abfd108fc (diff) | |
| download | cpython-git-300dd552b15825abfe0e367ac14cec4c3e050dbc.tar.gz | |
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.rst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Doc/library/curses.ascii.rst b/Doc/library/curses.ascii.rst index b6ac251733..04b2a260af 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. |
