Skip to content

Commit 300dd55

Browse files
bpo-30872: Update the curses docs to Python 3. (#2620)
1 parent db12ef7 commit 300dd55

File tree

3 files changed

+115
-109
lines changed

3 files changed

+115
-109
lines changed

Doc/library/curses.ascii.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,12 @@ C library:
176176

177177
Checks for a non-ASCII character (ordinal values 0x80 and above).
178178

179-
These functions accept either integers or strings; when the argument is a
179+
These functions accept either integers or single-character strings; when the argument is a
180180
string, it is first converted using the built-in function :func:`ord`.
181181

182-
Note that all these functions check ordinal bit values derived from the first
182+
Note that all these functions check ordinal bit values derived from the
183183
character of the string you pass in; they do not actually know anything about
184-
the host machine's character encoding. For functions that know about the
185-
character encoding (and handle internationalization properly) see the
186-
:mod:`string` module.
184+
the host machine's character encoding.
187185

188186
The following two functions take either a single-character string or integer
189187
byte value; they return a value of the same type.

Doc/library/curses.panel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Panel objects have the following methods:
7474

7575
.. method:: Panel.hidden()
7676

77-
Returns true if the panel is hidden (not visible), false otherwise.
77+
Returns ``True`` if the panel is hidden (not visible), ``False`` otherwise.
7878

7979

8080
.. method:: Panel.hide()

0 commit comments

Comments
 (0)