@@ -118,7 +118,7 @@ function to restore the terminal to its original operating mode. ::
118118A common problem when debugging a curses application is to get your terminal
119119messed up when the application dies without restoring the terminal to its
120120previous state. In Python this commonly happens when your code is buggy and
121- raises an uncaught exception. Keys are no longer be echoed to the screen when
121+ raises an uncaught exception. Keys are no longer echoed to the screen when
122122you type them, for example, which makes using the shell difficult.
123123
124124In 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
271271highlight certain words. curses supports this by allowing you to specify an
272272attribute for each cell on the screen.
273273
274- An attribute is a integer, each bit representing a different attribute. You can
274+ An attribute is an integer, each bit representing a different attribute. You can
275275try to display text with multiple attribute bits set, but curses doesn't
276276guarantee that all the possible combinations are available, or that they're all
277277visually distinct. That depends on the ability of the terminal being used, so
@@ -300,7 +300,7 @@ could code::
300300 curses.A_REVERSE)
301301 stdscr.refresh()
302302
303- The curses library also supports color on those terminals that provide it, The
303+ The curses library also supports color on those terminals that provide it. The
304304most common such terminal is probably the Linux console, followed by color
305305xterms.
306306
0 commit comments