summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index fef8245de..722dcc45b 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -216,7 +216,7 @@ else:
"{!r}".format(__name__, attr))
def __dir__():
- return __all__ + ['Tester', 'testing']
+ return list(globals().keys()) + ['Tester', 'testing']
else:
# We don't actually use this ourselves anymore, but I'm not 100% sure that