mirror of https://github.com/python/cpython
Issue #23504: Added an __all__ to the types module.
This commit is contained in:
parent
92ce1b4392
commit
7beb4f96dc
|
@ -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] != '_']
|
||||
|
|
Loading…
Reference in New Issue