Skip to content

Commit 80f1a90

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

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
@@ -2051,7 +2051,7 @@ expression support in the :mod:`re` module).
20512051
.. method:: str.upper()
20522052

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

0 commit comments

Comments
 (0)