From 1794d8a4c4fe696170921e6d020e69553c92a20a Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Sun, 23 Sep 2007 14:29:19 +0000 Subject: get the example working --- numpy/doc/html/example-module.html | 328 +++++++++++++++++++++++++++++++++++++ 1 file changed, 328 insertions(+) create mode 100644 numpy/doc/html/example-module.html (limited to 'numpy/doc/html/example-module.html') diff --git a/numpy/doc/html/example-module.html b/numpy/doc/html/example-module.html new file mode 100644 index 000000000..992db0933 --- /dev/null +++ b/numpy/doc/html/example-module.html @@ -0,0 +1,328 @@ + + + + + example + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Module example + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Module example

source code

+
+This is the docstring for the example.py module.  Modules names should
+have short, all-lowercase names.  The module name may have underscores if
+this improves readability.
+
+Every module should have a docstring at the very top of the file.  The
+module's docstring may extend over multiple lines.  If your docstring does
+extend over multiple lines, the closing three quotation marks must be on
+a line by itself, preferably preceeded by a blank line.
+
+
+ + + + + + + + + + + + + + + + +
+ + + + + +
Functions[hide private]
+
+   + + + + + + +
foo(var1, + var2, + long_var_name='hi')
+ One-line summary or signature.
+ source code + +
+ +
+   + + + + + + +
newfunc()
+ Do nothing.
+ source code + +
+ +
+   + + + + + + +
otherfunc()
+ Do nothing.
+ source code + +
+ +
+ + + + + + +
+ + + + + +
Function Details[hide private]
+
+ +
+ +
+ + +
+

foo(var1, + var2, + long_var_name='hi') +

+
source code  +
+ +
+One-line summary or signature.
+
+Several sentences providing an extended description. You can put
+text in mono-spaced type like so: ``var``.
+
+*Parameters*:
+
+    var1 : {array_like}
+        Array_like means all those objects -- lists, nested lists, etc. --
+        that can be converted to an array.
+    var2 : {integer}
+        Write out the full type
+    long_variable_name : {'hi', 'ho'}, optional
+        Choices in brackets, default first when optional.
+
+*Returns*:
+
+    named : {type}
+        Explanation
+    list
+        Explanation
+    of
+        Explanation
+    outputs
+        even more explaining
+
+*Other Parameters*:
+
+    only_seldom_used_keywords : type
+        Explanation
+    common_parametrs_listed_above : type
+        Explanation
+
+*See Also*:
+
+    `otherfunc` : relationship (optional)
+
+    `newfunc` : relationship (optional)
+
+*Notes*
+
+    Notes about the implementation algorithm (if needed).
+
+    This can have multiple paragraphs as can all sections.
+
+*Examples*
+
+    examples in doctest format
+
+    >>> a=[1,2,3]
+    >>> [x + 3 for x in a]
+    [4, 5, 6]
+
+
+
+
+
+
+ +
+ +
+ + +
+

newfunc() +

+
source code  +
+ +
+Do nothing.
+
+I never saw a purple cow.
+
+
+
+
+
+
+ +
+ +
+ + +
+

otherfunc() +

+
source code  +
+ +
+Do nothing.
+
+I never hope to see one.
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + -- cgit v1.2.1