Skip to content

Commit 7820973

Browse files
[2.7] bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7905)
(cherry picked from commit 4a6e746) Co-authored-by: Andrés Delfino <[email protected]>
1 parent aa770b7 commit 7820973

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
@@ -1381,7 +1381,7 @@ string functions based on regular expressions.
13811381
.. method:: str.upper()
13821382

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

0 commit comments

Comments
 (0)