summaryrefslogtreecommitdiff
path: root/Lib/string.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-04 15:28:42 +0000
committerGuido van Rossum <guido@python.org>2000-02-04 15:28:42 +0000
commitfa1b52d8a4d2363e35834ddf0c3373fa6467877b (patch)
treeea30eccd8916426fc19f729055330c43b16b34f8 /Lib/string.py
parent0f5e51cb185fedaf5aa34862a7d545fdcd7a70e6 (diff)
downloadcpython-fa1b52d8a4d2363e35834ddf0c3373fa6467877b.tar.gz
The third and final doc-string sweep by Ka-Ping Yee.
The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
Diffstat (limited to 'Lib/string.py')
-rw-r--r--Lib/string.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/Lib/string.py b/Lib/string.py
index a43da32766..d7969dd69e 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -1,11 +1,9 @@
-# module 'string' -- A collection of string operations
+"""A collection of string operations (most are no longer used in Python 1.6).
-# Warning: most of the code you see here isn't normally used nowadays. With
-# Python 1.6, many of these functions are implemented as methods on the
-# standard string object. They used to be implemented by a built-in module
-# called strop, but strop is now obsolete itself.
-
-"""Common string manipulations.
+Warning: most of the code you see here isn't normally used nowadays. With
+Python 1.6, many of these functions are implemented as methods on the
+standard string object. They used to be implemented by a built-in module
+called strop, but strop is now obsolete itself.
Public module variables: