Skip to content

Commit ac5a6e3

Browse files
miss-islingtonandresdelfino
authored andcommitted
bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7904)
(cherry picked from commit 4a6e746) Co-authored-by: Andrés Delfino <[email protected]>
1 parent 73848e0 commit ac5a6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ expression support in the :mod:`re` module).
20422042
.. method:: str.upper()
20432043

20442044
Return a copy of the string with all the cased characters [4]_ converted to
2045-
uppercase. Note that ``str.upper().isupper()`` might be ``False`` if ``s``
2045+
uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s``
20462046
contains uncased characters or if the Unicode category of the resulting
20472047
character(s) is not "Lu" (Letter, uppercase), but e.g. "Lt" (Letter,
20482048
titlecase).

0 commit comments

Comments
 (0)