diff options
author | Googler <noreply@google.com> | 2018-06-01 11:42:11 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-01 11:43:51 -0700 |
commit | 847005899d361bd0dbbe0ff9c10215f0c1f03782 (patch) | |
tree | 525e1ebfba562d40589940471bb0246bb042d037 /site/docs | |
parent | b2d1f2f71977a9e6e562acebb173d89f163594f0 (diff) |
Fix string.title and string.upper documentation.
Cut and paste errors left references to lower in descriptions.
RELNOTES: None.
PiperOrigin-RevId: 198903374
Diffstat (limited to 'site/docs')
-rw-r--r-- | site/docs/skylark/spec.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/skylark/spec.md b/site/docs/skylark/spec.md index 6cb428b1cf..ecd84a6427 100644 --- a/site/docs/skylark/spec.md +++ b/site/docs/skylark/spec.md @@ -3135,7 +3135,7 @@ the final element does not necessarily end with a line terminator. <a id='string·title'></a> ### string·title -`S.lower()` returns a copy of the string S with letters converted to titlecase. +`S.title()` returns a copy of the string S with letters converted to titlecase. Letters are converted to uppercase at the start of words, lowercase elsewhere. @@ -3146,7 +3146,7 @@ Letters are converted to uppercase at the start of words, lowercase elsewhere. <a id='string·upper'></a> ### string·upper -`S.lower()` returns a copy of the string S with letters converted to lowercase. +`S.upper()` returns a copy of the string S with letters converted to uppercase. ```python "Hello, World!".upper() # "HELLO, WORLD!" |