[Numpy-svn] r4099 - trunk/numpy/doc
numpy-svn at scipy.org
numpy-svn at scipy.org
Sun Sep 23 09:36:56 EDT 2007
Author: jarrod.millman
Date: 2007-09-23 08:36:54 -0500 (Sun, 23 Sep 2007)
New Revision: 4099
Modified:
trunk/numpy/doc/example.py
Log:
more doc work
Modified: trunk/numpy/doc/example.py
===================================================================
--- trunk/numpy/doc/example.py 2007-09-23 13:27:54 UTC (rev 4098)
+++ trunk/numpy/doc/example.py 2007-09-23 13:36:54 UTC (rev 4099)
@@ -9,7 +9,15 @@
"""
+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 @@
[4, 5, 6]
"""
+
pass
@@ -76,6 +85,7 @@
I never saw a purple cow.
"""
+
pass
@@ -85,5 +95,6 @@
I never hope to see one.
"""
+
pass
More information about the Numpy-svn
mailing list