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:
parent
66d77d8af8
commit
80f1a908a8
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue