[Python-checkins] cpython (3.2): Closes #14401: fix typos in curses howto.
georg.brandl
python-checkins at python.org
Sun Mar 25 08:43:57 CEST 2012
http://hg.python.org/cpython/rev/a9129cf78cf0
changeset: 75919:a9129cf78cf0
branch: 3.2
parent: 75916:2456e4e69cd0
user: Georg Brandl <georg at python.org>
date: Sun Mar 25 08:43:22 2012 +0200
summary:
Closes #14401: fix typos in curses howto.
files:
Doc/howto/curses.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst
--- a/Doc/howto/curses.rst
+++ b/Doc/howto/curses.rst
@@ -118,7 +118,7 @@
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 @@
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 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list