mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
removed __all__ from several modules
This commit is contained in:
parent
1ca2ed35e0
commit
78349072f7
16 changed files with 0 additions and 63 deletions
|
@ -51,9 +51,3 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue