summaryrefslogtreecommitdiff
path: root/numpy/lib/index_tricks.py
diff options
context:
space:
mode:
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)