@@ -243,7 +243,7 @@ The module :mod:`!curses` defines the following functions:
243243
244244.. function :: getwin(file)
245245
246- Read window related data stored in the file by an earlier :meth: `window.putwin ` call.
246+ Read window- related data stored in the file by an earlier :meth: `window.putwin ` call.
247247 The routine then creates and initializes a new window using that data, returning
248248 the new window object. The *file * argument must be a file object opened for
249249 reading in binary mode.
@@ -257,7 +257,7 @@ The module :mod:`!curses` defines the following functions:
257257
258258 Return ``True `` if the module supports extended colors; otherwise, return
259259 ``False ``. Extended color support allows more than 256 color pairs for
260- terminals that support more than 16 colors (e.g. xterm-256color).
260+ terminals that support more than 16 colors (for example, xterm-256color).
261261
262262 Extended color support requires ncurses version 6.1 or later.
263263
@@ -409,7 +409,7 @@ The module :mod:`!curses` defines the following functions:
409409 methods of a pad require 6 arguments to specify the part of the pad to be
410410 displayed and the location on the screen to be used for the display. The
411411 arguments are *pminrow *, *pmincol *, *sminrow *, *smincol *, *smaxrow *, *smaxcol *; the *p *
412- arguments refer to the upper left corner of the pad region to be displayed and
412+ arguments refer to the upper- left corner of the pad region to be displayed and
413413 the *s * arguments define a clipping box on the screen within which the pad region
414414 is to be displayed.
415415
@@ -646,7 +646,7 @@ The module :mod:`!curses` defines the following functions:
646646.. function :: tparm(str[, ...])
647647
648648 Instantiate the bytes object *str * with the supplied parameters, where *str * should
649- be a parameterized string obtained from the terminfo database. E.g.
649+ be a parameterized string obtained from the terminfo database. For example,
650650 ``tparm(tigetstr("cup"), 5, 3) `` could result in ``b'\033[6;4H' ``, the exact
651651 result depending on terminal type. Up to nine integer parameters may be supplied.
652652
@@ -736,7 +736,7 @@ The module :mod:`!curses` defines the following functions:
736736
737737.. _curses-window-objects :
738738
739- Window Objects
739+ Window objects
740740--------------
741741
742742.. class :: window
@@ -755,7 +755,7 @@ Window Objects
755755 .. note ::
756756
757757 Writing outside the window, subwindow, or pad raises a :exc: `curses.error `.
758- Attempting to write to the lower right corner of a window, subwindow,
758+ Attempting to write to the lower- right corner of a window, subwindow,
759759 or pad will cause an exception to be raised after the character is printed.
760760
761761
@@ -776,7 +776,7 @@ Window Objects
776776 .. note ::
777777
778778 * Writing outside the window, subwindow, or pad raises :exc: `curses.error `.
779- Attempting to write to the lower right corner of a window, subwindow,
779+ Attempting to write to the lower- right corner of a window, subwindow,
780780 or pad will cause an exception to be raised after the string is printed.
781781
782782 * A bug in ncurses, the backend for this Python module, could cause
@@ -1013,8 +1013,8 @@ Window Objects
10131013 window.getstr(y, x, n)
10141014
10151015 Read a bytes object from the user, with primitive line editing capacity.
1016- At most *n * characters are read (2047 by default).
1017- The maximum value for * n * is 2047.
1016+ At most *n * characters are read;
1017+ * n * defaults to and cannot exceed 2047.
10181018
10191019 .. versionchanged :: 3.14
10201020 The maximum value for *n * was increased from 1023 to 2047.
@@ -1243,10 +1243,10 @@ Window Objects
12431243
12441244 The 6 arguments can only be specified, and are then required, when the window
12451245 is a pad created with :func: `newpad `. The additional parameters are needed to indicate what part
1246- of the pad and screen are involved. *pminrow * and *pmincol * specify the upper
1247- left-hand corner of the rectangle to be displayed in the pad. *sminrow *,
1246+ of the pad and screen are involved. *pminrow * and *pmincol * specify the
1247+ upper-left corner of the rectangle to be displayed in the pad. *sminrow *,
12481248 *smincol *, *smaxrow *, and *smaxcol * specify the edges of the rectangle to be
1249- displayed on the screen. The lower right-hand corner of the rectangle to be
1249+ displayed on the screen. The lower-right corner of the rectangle to be
12501250 displayed in the pad is calculated from the screen coordinates, since the
12511251 rectangles must be the same size. Both rectangles must be entirely contained
12521252 within their respective structures. Negative values of *pminrow *, *pmincol *,
@@ -1415,14 +1415,14 @@ The :mod:`!curses` module defines the following data members:
14151415
14161416.. data :: COLS
14171417
1418- The width of the screen, i.e. , the number of columns.
1418+ The width of the screen, that is , the number of columns.
14191419 It is defined only after the call to :func: `initscr `.
14201420 Updated by :func: `update_lines_cols `, :func: `resizeterm ` and
14211421 :func: `resize_term `.
14221422
14231423.. data :: LINES
14241424
1425- The height of the screen, i.e. , the number of lines.
1425+ The height of the screen, that is , the number of lines.
14261426 It is defined only after the call to :func: `initscr `.
14271427 Updated by :func: `update_lines_cols `, :func: `resizeterm ` and
14281428 :func: `resize_term `.
@@ -1725,15 +1725,15 @@ falls back on a crude printable ASCII approximation.
17251725+------------------------+------------------------------------------+
17261726| ACS code | Meaning |
17271727+========================+==========================================+
1728- | .. data:: ACS_BBSS | alternate name for upper right corner |
1728+ | .. data:: ACS_BBSS | alternate name for upper- right corner |
17291729+------------------------+------------------------------------------+
17301730| .. data:: ACS_BLOCK | solid square block |
17311731+------------------------+------------------------------------------+
17321732| .. data:: ACS_BOARD | board of squares |
17331733+------------------------+------------------------------------------+
17341734| .. data:: ACS_BSBS | alternate name for horizontal line |
17351735+------------------------+------------------------------------------+
1736- | .. data:: ACS_BSSB | alternate name for upper left corner |
1736+ | .. data:: ACS_BSSB | alternate name for upper- left corner |
17371737+------------------------+------------------------------------------+
17381738| .. data:: ACS_BSSS | alternate name for top tee |
17391739+------------------------+------------------------------------------+
@@ -1759,9 +1759,9 @@ falls back on a crude printable ASCII approximation.
17591759+------------------------+------------------------------------------+
17601760| .. data:: ACS_LEQUAL | less-than-or-equal-to |
17611761+------------------------+------------------------------------------+
1762- | .. data:: ACS_LLCORNER | lower left-hand corner |
1762+ | .. data:: ACS_LLCORNER | lower-left corner |
17631763+------------------------+------------------------------------------+
1764- | .. data:: ACS_LRCORNER | lower right-hand corner |
1764+ | .. data:: ACS_LRCORNER | lower-right corner |
17651765+------------------------+------------------------------------------+
17661766| .. data:: ACS_LTEE | left tee |
17671767+------------------------+------------------------------------------+
@@ -1785,13 +1785,13 @@ falls back on a crude printable ASCII approximation.
17851785+------------------------+------------------------------------------+
17861786| .. data:: ACS_S9 | scan line 9 |
17871787+------------------------+------------------------------------------+
1788- | .. data:: ACS_SBBS | alternate name for lower right corner |
1788+ | .. data:: ACS_SBBS | alternate name for lower- right corner |
17891789+------------------------+------------------------------------------+
17901790| .. data:: ACS_SBSB | alternate name for vertical line |
17911791+------------------------+------------------------------------------+
17921792| .. data:: ACS_SBSS | alternate name for right tee |
17931793+------------------------+------------------------------------------+
1794- | .. data:: ACS_SSBB | alternate name for lower left corner |
1794+ | .. data:: ACS_SSBB | alternate name for lower- left corner |
17951795+------------------------+------------------------------------------+
17961796| .. data:: ACS_SSBS | alternate name for bottom tee |
17971797+------------------------+------------------------------------------+
@@ -1805,9 +1805,9 @@ falls back on a crude printable ASCII approximation.
18051805+------------------------+------------------------------------------+
18061806| .. data:: ACS_UARROW | up arrow |
18071807+------------------------+------------------------------------------+
1808- | .. data:: ACS_ULCORNER | upper left corner |
1808+ | .. data:: ACS_ULCORNER | upper- left corner |
18091809+------------------------+------------------------------------------+
1810- | .. data:: ACS_URCORNER | upper right corner |
1810+ | .. data:: ACS_URCORNER | upper- right corner |
18111811+------------------------+------------------------------------------+
18121812| .. data:: ACS_VLINE | vertical line |
18131813+------------------------+------------------------------------------+
@@ -1880,9 +1880,9 @@ The module :mod:`!curses.textpad` defines the following function:
18801880
18811881 Draw a rectangle. The first argument must be a window object; the remaining
18821882 arguments are coordinates relative to that window. The second and third
1883- arguments are the y and x coordinates of the upper left hand corner of the
1883+ arguments are the y and x coordinates of the upper- left corner of the
18841884 rectangle to be drawn; the fourth and fifth arguments are the y and x
1885- coordinates of the lower right hand corner. The rectangle will be drawn using
1885+ coordinates of the lower- right corner. The rectangle will be drawn using
18861886 VT100/IBM PC forms characters on terminals that make this possible (including
18871887 xterm and most other software terminal emulators). Otherwise it will be drawn
18881888 with ASCII dashes, vertical bars, and plus signs.
@@ -1903,7 +1903,7 @@ You can instantiate a :class:`Textbox` object as follows:
19031903 be contained. If *insert_mode * is true, the textbox inserts typed
19041904 characters, shifting existing text to the right, rather than overwriting it.
19051905 The edit cursor of the textbox is initially located at the
1906- upper left hand corner of the containing window, with coordinates ``(0, 0) ``.
1906+ upper- left corner of the containing window, with coordinates ``(0, 0) ``.
19071907 The instance's :attr: `stripspaces ` flag is initially on.
19081908
19091909 :class: `Textbox ` objects have the following methods:
0 commit comments