Skip to content

Commit

Permalink
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresdelfino authored and taleinat committed Jun 25, 2018
1 parent a8ddf85 commit 4a6e746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/stdtypes.rst
Expand Up @@ -2051,7 +2051,7 @@ expression support in the :mod:`re` module).
.. method:: str.upper()

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

0 comments on commit 4a6e746

Please sign in to comment.