From b860a39925a5e0a49d54fa363ccdf6113dfef12d Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sun, 18 Feb 2007 21:02:46 +0000 Subject: Fix docstrings for loading with DocFileSuite. --- numpy/lib/index_tricks.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/lib/index_tricks.py') 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) -- cgit v1.2.1