bpo-33952: Fix typo in str.upper() documentation (GH-7898)

This commit is contained in:
Andrés Delfino 2018-06-25 07:34:22 -03:00 committed by Tal Einat
parent a8ddf85a84
commit 4a6e746079
1 changed files with 1 additions and 1 deletions

View File

@ -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).