mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Issue #23504: Added an __all__ to the types module.
This commit is contained in:
commit
35e5b72740
2 changed files with 5 additions and 0 deletions
|
@ -156,3 +156,6 @@ class DynamicClassAttribute:
|
||||||
result = type(self)(self.fget, self.fset, fdel, self.__doc__)
|
result = type(self)(self.fget, self.fset, fdel, self.__doc__)
|
||||||
result.overwrite_doc = self.overwrite_doc
|
result.overwrite_doc = self.overwrite_doc
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = [n for n in globals() if n[:1] != '_']
|
||||||
|
|
|
@ -13,6 +13,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #23504: Added an __all__ to the types module.
|
||||||
|
|
||||||
- Issue #23563: Optimized utility functions in urllib.parse.
|
- Issue #23563: Optimized utility functions in urllib.parse.
|
||||||
|
|
||||||
- Issue #7830: Flatten nested functools.partial.
|
- Issue #7830: Flatten nested functools.partial.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue