summaryrefslogtreecommitdiff
path: root/doc/source/reference/routines.rst
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2010-02-17 23:55:16 +0000
committerJarrod Millman <millman@berkeley.edu>2010-02-17 23:55:16 +0000
commit1c7167378e9f654a80b3cb57b7c0dd7ee573a109 (patch)
tree1926d178db2e66c19552f8216926c07155f7cde3 /doc/source/reference/routines.rst
parente2bb09430d90c73a7be6e47ea8c4528f094f693f (diff)
downloadnumpy-1c7167378e9f654a80b3cb57b7c0dd7ee573a109.tar.gz
updated documentation from pydoc website (thanks to everyone who contributed!)
Diffstat (limited to 'doc/source/reference/routines.rst')
-rw-r--r--doc/source/reference/routines.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/source/reference/routines.rst b/doc/source/reference/routines.rst
index 90fe1c189..0788d3a0a 100644
--- a/doc/source/reference/routines.rst
+++ b/doc/source/reference/routines.rst
@@ -2,6 +2,16 @@
Routines
********
+In this chapter routine docstrings are presented, grouped by functionality.
+Many docstrings contain example code, which demonstrates basic usage
+of the routine. The examples assume that NumPy is imported with::
+
+ >>> import numpy as np
+
+A convenient way to execute examples is the ``%doctest_mode`` mode of
+IPython, which allows for pasting of multi-line examples and preserves
+indentation.
+
.. toctree::
:maxdepth: 2