mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
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:
parent
04f1d37471
commit
0de65807e6
28 changed files with 111 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue