Example #1
0
 def __getattr__(self, attr):
     if attr == 'colind':
         warn("colind attribute no longer in use. Use .indices instead",
                 DeprecationWarning)
         return self.indices
     else:
         return _cs_matrix.__getattr__(self, attr)
Example #2
0
File: csr.py Project: minrk/scipy
 def __getattr__(self, attr):
     if attr == 'colind':
         warn("colind attribute no longer in use. Use .indices instead",
              DeprecationWarning)
         return self.indices
     else:
         return _cs_matrix.__getattr__(self, attr)