comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/doc/__init__.py @ 87:2a2c65a20a8b

Add Python libs and headers
author Chris Cannam
date Wed, 25 Feb 2015 14:05:22 +0000
parents
children
comparison
equal deleted inserted replaced
86:413a9d26189e 87:2a2c65a20a8b
1 from __future__ import division, absolute_import, print_function
2
3 import os
4
5 ref_dir = os.path.join(os.path.dirname(__file__))
6
7 __all__ = sorted(f[:-3] for f in os.listdir(ref_dir) if f.endswith('.py') and
8 not f.startswith('__'))
9
10 for f in __all__:
11 __import__(__name__ + '.' + f)
12
13 del f, ref_dir
14
15 __doc__ = """\
16 Topical documentation
17 =====================
18
19 The following topics are available:
20 %s
21
22 You can view them by
23
24 >>> help(np.doc.TOPIC) #doctest: +SKIP
25
26 """ % '\n- '.join([''] + __all__)
27
28 __all__.extend(['__doc__'])