summaryrefslogtreecommitdiffstats
path: root/Lib/sre.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-02-15 22:15:14 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-02-15 22:15:14 (GMT)
commit0de65807e6bdc5254f5a7e99b2f39adeea6b883b (patch)
tree914e04ae2a3d31caf9c9731825970dd45c754378 /Lib/sre.py
parent04f1d37471d6dde302acedf56ee543fa827c7f29 (diff)
downloadcpython-0de65807e6bdc5254f5a7e99b2f39adeea6b883b.zip
cpython-0de65807e6bdc5254f5a7e99b2f39adeea6b883b.tar.gz
cpython-0de65807e6bdc5254f5a7e99b2f39adeea6b883b.tar.bz2
bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
Diffstat (limited to 'Lib/sre.py')
-rw-r--r--Lib/sre.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/sre.py b/Lib/sre.py
index 4533354..061d8e8 100644
--- a/Lib/sre.py
+++ b/Lib/sre.py
@@ -17,6 +17,10 @@
import sre_compile
import sre_parse
+__all__ = ["match","search","sub","subn","split","findall","compile",
+ "purge","template","escape","I","L","M","S","X","U","IGNORECASE",
+ "LOCALE","MULTILINE","DOTALL","VERBOSE","UNICODE","error"]
+
# flags
I = IGNORECASE = sre_compile.SRE_FLAG_IGNORECASE # ignore case
L = LOCALE = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale