Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7f5df1

Browse filesBrowse files
committed
Reinstate __all__ for pydoc
1 parent 9c508ae commit b7f5df1
Copy full SHA for b7f5df1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎Lib/types.py

Copy file name to clipboardExpand all lines: Lib/types.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,3 +332,5 @@ def wrapped(*args, **kwargs):
332332
EllipsisType = type(Ellipsis)
333333
NoneType = type(None)
334334
NotImplementedType = type(NotImplemented)
335+
336+
__all__ = [n for n in globals() if not n.startswith('_')] # for pydoc

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.