Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 32215:b00b26cbc303 2.3
Document which string methods are locale-dependent. Fixes #935749.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Thu, 03 Jun 2004 09:48:25 +0000 |
| parents | 24c46001416e |
| children | 5b6fba6454a0 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Thu Jun 03 01:53:13 2004 +0000 +++ b/Doc/lib/libstdtypes.tex Thu Jun 03 09:48:25 2004 +0000 @@ -544,6 +544,8 @@ \begin{methoddesc}[string]{capitalize}{} Return a copy of the string with only its first character capitalized. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{center}{width} @@ -605,26 +607,36 @@ \begin{methoddesc}[string]{isalnum}{} Return true if all characters in the string are alphanumeric and there is at least one character, false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{isalpha}{} Return true if all characters in the string are alphabetic and there is at least one character, false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{isdigit}{} Return true if all characters in the string are digits and there is at least one character, false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{islower}{} Return true if all cased characters in the string are lowercase and there is at least one cased character, false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{isspace}{} Return true if there are only whitespace characters in the string and there is at least one character, false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{istitle}{} @@ -632,11 +644,15 @@ character, i.e. uppercase characters may only follow uncased characters and lowercase characters only cased ones. Return false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{isupper}{} Return true if all cased characters in the string are uppercase and there is at least one cased character, false otherwise. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{join}{seq} @@ -653,6 +669,8 @@ \begin{methoddesc}[string]{lower}{} Return a copy of the string converted to lowercase. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{lstrip}{\optional{chars}} @@ -731,11 +749,15 @@ \begin{methoddesc}[string]{swapcase}{} Return a copy of the string with uppercase characters converted to lowercase and vice versa. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{title}{} Return a titlecased version of the string: words start with uppercase characters, all remaining cased characters are lowercase. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{translate}{table\optional{, deletechars}} @@ -757,6 +779,8 @@ \begin{methoddesc}[string]{upper}{} Return a copy of the string converted to uppercase. + +For 8-bit strings, this method is locale-dependent. \end{methoddesc} \begin{methoddesc}[string]{zfill}{width}
