diff options
author | Jarrod Millman <millman@berkeley.edu> | 2007-09-23 13:36:54 +0000 |
---|---|---|
committer | Jarrod Millman <millman@berkeley.edu> | 2007-09-23 13:36:54 +0000 |
commit | 0ac6c30452bb193b447434985a1d0e23dc1f05d7 (patch) | |
tree | 4e44233cd425c4bd000c61821b6cef00256774a5 /numpy/doc/example.py | |
parent | 1b388dd8ecdec77365a3128e5cf061cd91d27a2c (diff) | |
download | numpy-0ac6c30452bb193b447434985a1d0e23dc1f05d7.tar.gz |
more doc work
Diffstat (limited to 'numpy/doc/example.py')
-rw-r--r-- | numpy/doc/example.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/numpy/doc/example.py b/numpy/doc/example.py index e48ea2c49..295a69eda 100644 --- a/numpy/doc/example.py +++ b/numpy/doc/example.py @@ -9,7 +9,15 @@ a line by itself, preferably preceeded by a blank line. """ +import os # standard library imports first + +import numpy as np # related third party imports next +import scipy as sp # imports should be at the top of the module +import matplotlib as mpl # imports should usually be on separate lines + + __docformat__ = "restructuredtext en" +__all__ = [foo, newfunc, otherfunc]] def foo(var1, var2, long_var_name='hi') : @@ -67,6 +75,7 @@ def foo(var1, var2, long_var_name='hi') : [4, 5, 6] """ + pass @@ -76,6 +85,7 @@ def newfunc() : I never saw a purple cow. """ + pass @@ -85,5 +95,6 @@ def otherfunc() : I never hope to see one. """ + pass |