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)
This commit is contained in:
Skip Montanaro 2001-02-15 22:15:14 +00:00
parent 04f1d37471
commit 0de65807e6
28 changed files with 111 additions and 1 deletions

View file

@ -51,3 +51,9 @@ RE_SYNTAX_GREP = (RE_BK_PLUS_QM | RE_NEWLINE_OR)
RE_SYNTAX_EMACS = 0
# (Python's obsolete "regexp" module used a syntax similar to awk.)
__all__ = locals().keys()
for _i in range(len(__all__)-1,-1,-1):
if __all__[_i][0] == "_":
del __all__[_i]
del _i