diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2007-02-18 21:02:46 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2007-02-18 21:02:46 +0000 |
commit | b860a39925a5e0a49d54fa363ccdf6113dfef12d (patch) | |
tree | b717f4026701aa9dde001aefc44820ffea5f94c4 /numpy/lib/index_tricks.py | |
parent | ff2ceaa981dd5ef632ae965fcbaf81577dc625d1 (diff) | |
download | numpy-b860a39925a5e0a49d54fa363ccdf6113dfef12d.tar.gz |
Fix docstrings for loading with DocFileSuite.
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r-- | numpy/lib/index_tricks.py | 2 |
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) |