mirror of https://github.com/python/cpython
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
This commit is contained in:
parent
a8ddf85a84
commit
4a6e746079
|
@ -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