02-fix-doc.patch 428 B

123456789101112131415
  1. --- contrib/python/numpy/py3/numpy/doc/__init__.py (index)
  2. +++ contrib/python/numpy/py3/numpy/doc/__init__.py (working tree)
  3. @@ -2,8 +2,10 @@ import os
  4. ref_dir = os.path.join(os.path.dirname(__file__))
  5. -__all__ = sorted(f[:-3] for f in os.listdir(ref_dir) if f.endswith('.py') and
  6. - not f.startswith('__'))
  7. +__all__ = [
  8. + "constants",
  9. + "ufuncs",
  10. +]
  11. for f in __all__:
  12. __import__(__name__ + '.' + f)