Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d5ad6da0
Commit
d5ad6da0
authored
Mar 04, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete stuff from string module docs.
parent
41793773
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
Doc/library/string.rst
Doc/library/string.rst
+8
-11
No files found.
Doc/library/string.rst
View file @
d5ad6da0
...
@@ -62,10 +62,9 @@ The constants defined in this module are:
...
@@ -62,10 +62,9 @@ The constants defined in this module are:
.. data:: lowercase
.. data:: lowercase
A string containing all the characters that are considered lowercase letters.
A string containing all the characters that are considered lowercase letters.
On most systems this is the string ``'abcdefghijklmnopqrstuvwxyz'``. Do not
On most systems this is the string ``'abcdefghijklmnopqrstuvwxyz'``. The
change its definition --- the effect on the routines :func:`upper` and
specific value is locale-dependent, and will be updated when
:func:`swapcase` is undefined. The specific value is locale-dependent, and will
:func:`locale.setlocale` is called.
be updated when :func:`locale.setlocale` is called.
.. data:: octdigits
.. data:: octdigits
...
@@ -89,18 +88,16 @@ The constants defined in this module are:
...
@@ -89,18 +88,16 @@ The constants defined in this module are:
.. data:: uppercase
.. data:: uppercase
A string containing all the characters that are considered uppercase letters.
A string containing all the characters that are considered uppercase letters.
On most systems this is the string ``'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``. Do not
On most systems this is the string ``'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``. The
change its definition --- the effect on the routines :func:`lower` and
specific value is locale-dependent, and will be updated when
:func:`swapcase` is undefined. The specific value is locale-dependent, and will
:func:`locale.setlocale` is called.
be updated when :func:`locale.setlocale` is called.
.. data:: whitespace
.. data:: whitespace
A string containing all characters that are considered whitespace. On most
A string containing all characters that are considered whitespace. On most
systems this includes the characters space, tab, linefeed, return, formfeed, and
systems this includes the characters space, tab, linefeed, return, formfeed, and
vertical tab. Do not change its definition --- the effect on the routines
vertical tab.
:func:`strip` and :func:`split` is undefined.
.. _new-string-formatting:
.. _new-string-formatting:
...
@@ -599,7 +596,7 @@ They are not available as string methods.
...
@@ -599,7 +596,7 @@ They are not available as string methods.
Don't use strings derived from :const:`lowercase` and :const:`uppercase` as
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
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
Deprecated string functions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment