88
99--------------
1010
11- The :mod: `!curses.ascii ` module supplies name constants for ASCII characters and
11+ The :mod: `!curses.ascii ` module supplies named constants for ASCII characters and
1212functions to test membership in various ASCII character classes. The constants
1313supplied are names for control characters as follows:
1414
@@ -97,7 +97,7 @@ C library:
9797
9898.. function :: isalnum(c)
9999
100- Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or
100+ Checks for an ASCII alpha-numeric character; it is equivalent to ``isalpha(c) or
101101 isdigit(c) ``.
102102
103103
@@ -114,7 +114,7 @@ C library:
114114
115115.. function :: isblank(c)
116116
117- Checks for an ASCII whitespace character; space or horizontal tab.
117+ Checks for an ASCII white-space character; space or horizontal tab.
118118
119119
120120.. function :: iscntrl(c)
@@ -130,7 +130,7 @@ C library:
130130
131131.. function :: isgraph(c)
132132
133- Checks for ASCII any printable character except space.
133+ Checks for any printable ASCII character except space.
134134
135135
136136.. function :: islower(c)
@@ -140,12 +140,12 @@ C library:
140140
141141.. function :: isprint(c)
142142
143- Checks for any ASCII printable character including space.
143+ Checks for any printable ASCII character including space.
144144
145145
146146.. function :: ispunct(c)
147147
148- Checks for any printable ASCII character which is not a space or an alphanumeric
148+ Checks for any printable ASCII character which is not a space or an alpha-numeric
149149 character.
150150
151151
@@ -157,7 +157,7 @@ C library:
157157
158158.. function :: isupper(c)
159159
160- Checks for an ASCII uppercase letter.
160+ Checks for an ASCII upper-case letter.
161161
162162
163163.. function :: isxdigit(c)
@@ -214,8 +214,8 @@ it returns a string.
214214
215215 Return a string representation of the ASCII character *c *. If *c * is printable,
216216 this string is the character itself. If the character is a control character
217- (0x00--0x1f) the string consists of a caret (``'^' ``) followed by the
218- corresponding uppercase letter. If the character is an ASCII delete (0x7f) the
217+ (0x00--0x1f), the string consists of a caret (``'^' ``) followed by the
218+ corresponding upper-case letter. If the character is an ASCII delete (0x7f), the
219219 string is ``'^?' ``. If the character has its meta bit (0x80) set, the meta bit
220220 is stripped, the preceding rules applied, and ``'!' `` prepended to the result.
221221
0 commit comments