Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
300dd552
Commit
300dd552
authored
Oct 04, 2017
by
Serhiy Storchaka
Committed by
GitHub
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-30872: Update the curses docs to Python 3. (#2620)
parent
db12ef7e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
115 additions
and
109 deletions
+115
-109
Doc/library/curses.ascii.rst
Doc/library/curses.ascii.rst
+3
-5
Doc/library/curses.panel.rst
Doc/library/curses.panel.rst
+1
-1
Doc/library/curses.rst
Doc/library/curses.rst
+111
-103
No files found.
Doc/library/curses.ascii.rst
View file @
300dd552
...
@@ -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 s
ingle-character s
trings; 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.
...
...
Doc/library/curses.panel.rst
View file @
300dd552
...
@@ -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()
...
...
Doc/library/curses.rst
View file @
300dd552
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment