diff options
author | Georg Brandl <georg@python.org> | 2009-03-04 18:24:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-04 18:24:41 (GMT) |
commit | d5ad6da03be91167405998d4c5555df6dd7f5299 (patch) | |
tree | 84230075ee79de8cfbdd97564206c1746ee2890b | |
parent | 417937733fdcb2aa23b2cf726a5cc6484fe803f5 (diff) | |
download | cpython-d5ad6da03be91167405998d4c5555df6dd7f5299.zip cpython-d5ad6da03be91167405998d4c5555df6dd7f5299.tar.gz cpython-d5ad6da03be91167405998d4c5555df6dd7f5299.tar.bz2 |
Remove obsolete stuff from string module docs.
-rw-r--r-- | Doc/library/string.rst | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 673f756..3d1a3e8 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -62,10 +62,9 @@ The constants defined in this module are: .. data:: lowercase A string containing all the characters that are considered lowercase letters. - On most systems this is the string ``'abcdefghijklmnopqrstuvwxyz'``. Do not - change its definition --- the effect on the routines :func:`upper` and - :func:`swapcase` is undefined. The specific value is locale-dependent, and will - be updated when :func:`locale.setlocale` is called. + On most systems this is the string ``'abcdefghijklmnopqrstuvwxyz'``. The + specific value is locale-dependent, and will be updated when + :func:`locale.setlocale` is called. .. data:: octdigits @@ -89,18 +88,16 @@ The constants defined in this module are: .. data:: uppercase A string containing all the characters that are considered uppercase letters. - On most systems this is the string ``'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``. Do not - change its definition --- the effect on the routines :func:`lower` and - :func:`swapcase` is undefined. The specific value is locale-dependent, and will - be updated when :func:`locale.setlocale` is called. + On most systems this is the string ``'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``. The + specific value is locale-dependent, and will be updated when + :func:`locale.setlocale` is called. .. data:: whitespace A string containing all characters that are considered whitespace. On most systems this includes the characters space, tab, linefeed, return, formfeed, and - vertical tab. Do not change its definition --- the effect on the routines - :func:`strip` and :func:`split` is undefined. + vertical tab. .. _new-string-formatting: @@ -599,7 +596,7 @@ They are not available as string methods. Don't use strings derived from :const:`lowercase` and :const:`uppercase` as arguments; in some locales, these don't have the same length. For case - conversions, always use :func:`lower` and :func:`upper`. + conversions, always use :meth:`str.lower` and :meth:`str.upper`. Deprecated string functions |