Mercurial > cpython-lru_cache-weakref
diff Lib/string.py @ 11707:6f4146846337 legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 04 Feb 2000 15:28:42 +0000 |
| parents | 316be08c9ecd |
| children | da7f5f6a849d |
line wrap: on
line diff
--- a/Lib/string.py Fri Feb 04 15:10:34 2000 +0000 +++ b/Lib/string.py Fri Feb 04 15:28:42 2000 +0000 @@ -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:
