Exemple #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)
Exemple #2
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)