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

This commit is contained in:
Serhiy Storchaka 2015-03-04 09:43:27 +02:00
parent 92ce1b4392
commit 7beb4f96dc
2 changed files with 5 additions and 0 deletions

View File

@ -156,3 +156,6 @@ class DynamicClassAttribute:
result = type(self)(self.fget, self.fset, fdel, self.__doc__)
result.overwrite_doc = self.overwrite_doc
return result
__all__ = [n for n in globals() if n[:1] != '_']

View File

@ -13,6 +13,8 @@ Core and Builtins
Library
-------
- Issue #23504: Added an __all__ to the types module.
- Issue #20204: Added the __module__ attribute to _tkinter classes.
- Issue #23521: Corrected pure python implementation of timedelta division.