Issue #23504: Added an __all__ to the types module.
This commit is contained in:
parent
b027c6cae0
commit
c620c11e62
|
@ -82,3 +82,5 @@ GetSetDescriptorType = type(FunctionType.func_code)
|
|||
MemberDescriptorType = type(FunctionType.func_globals)
|
||||
|
||||
del sys, _f, _g, _C, _x # Not for export
|
||||
|
||||
__all__ = list(n for n in globals() if n[:1] != '_')
|
||||
|
|
Loading…
Reference in New Issue