From e7b146fb3bdca62a0d5ecc06dbf3348e5a4fe757 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 4 Feb 2000 15:28:42 +0000 Subject: 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. --- Lib/string.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Lib/string.py') 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: -- cgit v1.2.1