diff options
author | Guido van Rossum <guido@python.org> | 2000-02-04 15:28:42 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-04 15:28:42 +0000 |
commit | e7b146fb3bdca62a0d5ecc06dbf3348e5a4fe757 (patch) | |
tree | e1dda862f680cf4a1169220af2ecbca3322caf4d /Lib/regex_syntax.py | |
parent | 54f22ed30bab2e64909ba2d79205cb4b87c69db2 (diff) | |
download | cpython-git-e7b146fb3bdca62a0d5ecc06dbf3348e5a4fe757.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/regex_syntax.py')
-rw-r--r-- | Lib/regex_syntax.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Lib/regex_syntax.py b/Lib/regex_syntax.py index 8631f42133..aab7e7a5c6 100644 --- a/Lib/regex_syntax.py +++ b/Lib/regex_syntax.py @@ -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. |