Kaydet (Commit) 300dd552 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka Kaydeden (comit) GitHub

bpo-30872: Update the curses docs to Python 3. (#2620)

üst db12ef7e
...@@ -176,14 +176,12 @@ C library: ...@@ -176,14 +176,12 @@ C library:
Checks for a non-ASCII character (ordinal values 0x80 and above). 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`. 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 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 the host machine's character encoding.
character encoding (and handle internationalization properly) see the
:mod:`string` module.
The following two functions take either a single-character string or integer The following two functions take either a single-character string or integer
byte value; they return a value of the same type. byte value; they return a value of the same type.
......
...@@ -74,7 +74,7 @@ Panel objects have the following methods: ...@@ -74,7 +74,7 @@ Panel objects have the following methods:
.. method:: Panel.hidden() .. method:: Panel.hidden()
Returns true if the panel is hidden (not visible), false otherwise. Returns ``True`` if the panel is hidden (not visible), ``False`` otherwise.
.. method:: Panel.hide() .. method:: Panel.hide()
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment