summaryrefslogtreecommitdiffstats
path: root/Doc/howto/curses.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-03-25 06:43:22 (GMT)
committerGeorg Brandl <georg@python.org>2012-03-25 06:43:22 (GMT)
commit11ee31ab08841b9479fe92e34c64bb95c7e1e47c (patch)
tree2b701fc1a4a2fa498d5f1a9b71b61ce12fac3003 /Doc/howto/curses.rst
parent8e6fe648cc9ec6b2385c16231a0a44c44d5b032d (diff)
downloadcpython-11ee31ab08841b9479fe92e34c64bb95c7e1e47c.zip
cpython-11ee31ab08841b9479fe92e34c64bb95c7e1e47c.tar.gz
cpython-11ee31ab08841b9479fe92e34c64bb95c7e1e47c.tar.bz2
Closes #14401: fix typos in curses howto.
Diffstat (limited to 'Doc/howto/curses.rst')
-rw-r--r--Doc/howto/curses.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst
index 53ef7de..1b14ceb 100644
--- a/Doc/howto/curses.rst
+++ b/Doc/howto/curses.rst
@@ -118,7 +118,7 @@ function to restore the terminal to its original operating mode. ::
A common problem when debugging a curses application is to get your terminal
messed up when the application dies without restoring the terminal to its
previous state. In Python this commonly happens when your code is buggy and
-raises an uncaught exception. Keys are no longer be echoed to the screen when
+raises an uncaught exception. Keys are no longer echoed to the screen when
you type them, for example, which makes using the shell difficult.
In Python you can avoid these complications and make debugging much easier by
@@ -271,7 +271,7 @@ application are commonly shown in reverse video; a text viewer may need to
highlight certain words. curses supports this by allowing you to specify an
attribute for each cell on the screen.
-An attribute is a integer, each bit representing a different attribute. You can
+An attribute is an integer, each bit representing a different attribute. You can
try to display text with multiple attribute bits set, but curses doesn't
guarantee that all the possible combinations are available, or that they're all
visually distinct. That depends on the ability of the terminal being used, so
@@ -300,7 +300,7 @@ could code::
curses.A_REVERSE)
stdscr.refresh()
-The curses library also supports color on those terminals that provide it, The
+The curses library also supports color on those terminals that provide it. The
most common such terminal is probably the Linux console, followed by color
xterms.