mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +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,5 +1,11 @@
|
|||
# These bits are passed to regex.set_syntax() to choose among
|
||||
# alternative regexp syntaxes.
|
||||
"""Constants for selecting regexp syntaxes for the obsolete regex module.
|
||||
|
||||
This module is only for backward compatibility. "regex" has now
|
||||
been replaced by the new regular expression module, "re".
|
||||
|
||||
These bits are passed to regex.set_syntax() to choose among
|
||||
alternative regexp syntaxes.
|
||||
"""
|
||||
|
||||
# 1 means plain parentheses serve as grouping, and backslash
|
||||
# parentheses are needed for literal searching.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue