diff options
author | Andrés Delfino <adelfino@gmail.com> | 2018-06-25 10:34:22 (GMT) |
---|---|---|
committer | Tal Einat <taleinat+github@gmail.com> | 2018-06-25 10:34:22 (GMT) |
commit | 4a6e746079441d18c30e3c4d014f106faaf7792f (patch) | |
tree | 74ea4fa06189670b5620574806b0a7b1fb6322f6 /Doc | |
parent | a8ddf85a84364d2c660e6670a7e06621993d1fdc (diff) | |
download | cpython-4a6e746079441d18c30e3c4d014f106faaf7792f.zip cpython-4a6e746079441d18c30e3c4d014f106faaf7792f.tar.gz cpython-4a6e746079441d18c30e3c4d014f106faaf7792f.tar.bz2 |
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index ba886f1..1211ece 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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). |