diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-03-06 19:29:55 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-03-06 19:29:55 +0000 |
commit | 2ce56bc1c3faa7d2e9e4ba5e64e2a8bdd5bb5313 (patch) | |
tree | c0f2e0d2cd5ed7dcc8d4e8160e1541be12d680cf /numpy/__init__.py | |
parent | 377645d4602e5dde51cba0ab859a66a958750157 (diff) | |
download | numpy-2ce56bc1c3faa7d2e9e4ba5e64e2a8bdd5bb5313.tar.gz |
Fix so that -OO works
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index 63896ec41..17202cd95 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -35,19 +35,22 @@ else: 'distutils', verbose=NUMPY_IMPORT_VERBOSE,postpone=False) - __doc__ += """ + if __doc__ is not None: + __doc__ += """ Available subpackages --------------------- """ - __doc__ += pkgload.get_pkgdocs() + if __doc__ is not None: + __doc__ += pkgload.get_pkgdocs() def test(level=1, verbosity=1): return NumpyTest().test(level, verbosity) import add_newdocs - __doc__ += """ + if __doc__ is not None: + __doc__ += """ Utility tools ------------- |