From 9902bd1969a738ddec9e01d019d98142dda59f3f Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sat, 14 Feb 2009 22:09:26 +0000 Subject: More add_newdocs entries, and make add_newdoc capable of adding docs also to normal Python objects. --- 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 3021635dc..fcd3909af 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -212,6 +212,8 @@ class nd_grid(object): mgrid = nd_grid(sparse=False) ogrid = nd_grid(sparse=True) +mgrid.__doc__ = None # set in numpy.add_newdocs +ogrid.__doc__ = None # set in numpy.add_newdocs class AxisConcatenator(object): """Translates slice objects to concatenation along an axis. -- cgit v1.2.1