summaryrefslogtreecommitdiff
path: root/numpy/lib/index_tricks.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2007-02-18 21:02:46 +0000
committerStefan van der Walt <stefan@sun.ac.za>2007-02-18 21:02:46 +0000
commitb860a39925a5e0a49d54fa363ccdf6113dfef12d (patch)
treeb717f4026701aa9dde001aefc44820ffea5f94c4 /numpy/lib/index_tricks.py
parentff2ceaa981dd5ef632ae965fcbaf81577dc625d1 (diff)
downloadnumpy-b860a39925a5e0a49d54fa363ccdf6113dfef12d.tar.gz
Fix docstrings for loading with DocFileSuite.
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r--numpy/lib/index_tricks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py
index 8ac065c47..8f8e1b235 100644
--- a/numpy/lib/index_tricks.py
+++ b/numpy/lib/index_tricks.py
@@ -119,6 +119,7 @@ class nd_grid(object):
>>> ogrid = nd_grid(sparse=True)
>>> ogrid[0:5,0:5]
[array([[0],[1],[2],[3],[4]]), array([[0, 1, 2, 3, 4]])]
+
"""
def __init__(self, sparse=False):
self.sparse = sparse
@@ -312,6 +313,7 @@ class r_class(concatenator):
For example:
>>> r_[array([1,2,3]), 0, 0, array([4,5,6])]
array([1, 2, 3, 0, 0, 4, 5, 6])
+
"""
def __init__(self):
concatenator.__init__(self, 0)