Commit e06a6ada authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #23504: Added an __all__ to the types module.

parent ac27721c
...@@ -82,3 +82,5 @@ GetSetDescriptorType = type(FunctionType.func_code) ...@@ -82,3 +82,5 @@ GetSetDescriptorType = type(FunctionType.func_code)
MemberDescriptorType = type(FunctionType.func_globals) MemberDescriptorType = type(FunctionType.func_globals)
del sys, _f, _g, _C, _x # Not for export del sys, _f, _g, _C, _x # Not for export
__all__ = list(n for n in globals() if n[:1] != '_')
...@@ -18,6 +18,8 @@ Core and Builtins ...@@ -18,6 +18,8 @@ Core and Builtins
Library Library
------- -------
- Issue #23504: Added an __all__ to the types module.
- Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now - Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now
set to non inheritable set to non inheritable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment