diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-25 03:42:20 -0700 |
|---|---|---|
| committer | Tal Einat <taleinat+github@gmail.com> | 2018-06-25 13:42:20 +0300 |
| commit | 80f1a908a87e55c318776fb8e6f8c21d8a8664ef (patch) | |
| tree | e9ef69d4d318261fc49b32455a995c2621000583 | |
| parent | 66d77d8af8f7c3ebd604ad1e802b8e5006d79d8f (diff) | |
| download | cpython-git-80f1a908a87e55c318776fb8e6f8c21d8a8664ef.tar.gz | |
bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7903)
(cherry picked from commit 4a6e746079441d18c30e3c4d014f106faaf7792f)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
| -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 7cab670374..03f9159ceb 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). |
