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

(cherry picked from commit 4a6e746079)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-06-25 03:42:20 -07:00 committed by Tal Einat
parent 66d77d8af8
commit 80f1a908a8
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).