aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/numpy/py3/patches/02-fix-doc.patch
blob: 205e1f6d94027983eef650a8c84ead076af93614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- contrib/python/numpy/py3/numpy/doc/__init__.py	(index)
+++ contrib/python/numpy/py3/numpy/doc/__init__.py	(working tree)
@@ -2,8 +2,10 @@ import os
 
 ref_dir = os.path.join(os.path.dirname(__file__))
 
-__all__ = sorted(f[:-3] for f in os.listdir(ref_dir) if f.endswith('.py') and
-           not f.startswith('__'))
+__all__ = [
+    "constants",
+    "ufuncs",
+]
 
 for f in __all__:
     __import__(__name__ + '.' + f)