mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +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
|
@ -84,3 +84,9 @@ S_IRWXO = 00007
|
|||
S_IROTH = 00004
|
||||
S_IWOTH = 00002
|
||||
S_IXOTH = 00001
|
||||
|
||||
__all__ = locals().keys()
|
||||
for _i in range(len(__all__)-1,-1,-1):
|
||||
if __all__[_i][0] == "_":
|
||||
del __all__[_i]
|
||||
del _i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue