mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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.
This commit is contained in:
parent
54f22ed30b
commit
e7b146fb3b
29 changed files with 891 additions and 778 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue