bpo-44045: fix spelling of uppercase vs upper-case (GH-25985) · python/cpython@2138b2e (original) (raw)
5 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -25,7 +25,7 @@ that wants to implement an :func:`open` function that wraps the built-in | ||
25 | 25 | return UpperCaser(f) |
26 | 26 | |
27 | 27 | class UpperCaser: |
28 | - '''Wrapper around a file that converts output to upper-case.''' | |
28 | + '''Wrapper around a file that converts output to uppercase.''' | |
29 | 29 | |
30 | 30 | def __init__(self, f): |
31 | 31 | self._f = f |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -119,7 +119,7 @@ structures. | ||
119 | 119 | .. function:: gen_uuid() |
120 | 120 | |
121 | 121 | Return a new UUID, in the format that MSI typically requires (i.e. in curly |
122 | - braces, and with all hexdigits in upper-case). | |
122 | + braces, and with all hexdigits in uppercase). | |
123 | 123 | |
124 | 124 | |
125 | 125 | .. seealso:: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -118,7 +118,7 @@ One exception is defined as an attribute of the :mod:`poplib` module: | ||
118 | 118 | POP3 Objects |
119 | 119 | ------------ |
120 | 120 | |
121 | -All POP3 commands are represented by methods of the same name, in lower-case; | |
121 | +All POP3 commands are represented by methods of the same name, in lowercase; | |
122 | 122 | most return the response text sent by the server. |
123 | 123 | |
124 | 124 | An :class:`POP3` instance has the following methods: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -145,7 +145,7 @@ class IMAP4: | ||
145 | 145 | the global default socket timeout is used |
146 | 146 | |
147 | 147 | All IMAP4rev1 commands are supported by methods of the same |
148 | - name (in lower-case). | |
148 | + name (in lowercase). | |
149 | 149 | |
150 | 150 | All arguments to commands are converted to strings, except for |
151 | 151 | AUTHENTICATE, and the last argument to APPEND which is passed as |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -280,7 +280,7 @@ class _TLSMessageType: | ||
280 | 280 | def _dnsname_match(dn, hostname): |
281 | 281 | """Matching according to RFC 6125, section 6.4.3 |
282 | 282 | |
283 | - - Hostnames are compared lower case. | |
283 | + - Hostnames are compared lower-case. | |
284 | 284 | - For IDNA, both dn and hostname must be encoded as IDN A-label (ACE). |
285 | 285 | - Partial wildcards like 'www*.example.org', multiple wildcards, sole |
286 | 286 | wildcard or wildcards in labels other then the left-most label are not |