Permalink
Browse files

DOC: added pointers to superclass docstring.

  • Loading branch information...
1 parent 34c5eaa commit 0ceeefa701dc57f6fc00d0e507a1669d09185c07 @dwf dwf committed Jun 4, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 scipy/sparse/compressed.py
  2. +1 −0 scipy/sparse/coo.py
  3. +1 −0 scipy/sparse/dok.py
  4. +1 −0 scipy/sparse/lil.py
@@ -555,6 +555,7 @@ def tocoo(self,copy=True):
return coo_matrix((data,(row,col)), self.shape)
def toarray(self, order=None, out=None):
+ """See the docstring for `spmatrix.toarray`."""
return self.tocoo(copy=False).toarray(order=order, out=out)
##############################################################
View
@@ -231,6 +231,7 @@ def transpose(self, copy=False):
return coo_matrix((self.data, (self.col, self.row)), shape=(N,M), copy=copy)
def toarray(self, order=None, out=None):
+ """See the docstring for `spmatrix.toarray`."""
B = self._process_toarray_args(order, out)
fortran = int(B.flags.f_contiguous)
M,N = self.shape
View
@@ -541,6 +541,7 @@ def tocsc(self):
return self.tocoo().tocsc()
def toarray(self, order=None, out=None):
+ """See the docstring for `spmatrix.toarray`."""
return self.tocoo().toarray(order=order, out=out)
def resize(self, shape):
View
@@ -432,6 +432,7 @@ def reshape(self,shape):
return new
def toarray(self, order=None, out=None):
+ """See the docstring for `spmatrix.toarray`."""
d = self._process_toarray_args(order, out)
for i, row in enumerate(self.rows):
for pos, j in enumerate(row):

0 comments on commit 0ceeefa

Please sign in to comment.