Comment #9 on issue 1822 by [email protected]: <Matrix
Object>.nonexistantattribute() should raise more informative AttributeError
http://code.google.com/p/sympy/issues/detail?id=1822
How about this ?
In [1]: A=ones(3)
In [2]: A.d
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/Users/sherjilozair/sympy/<ipython console> in <module>()
/Users/sherjilozair/sympy/sympy/matrices/matrices.py in __getattr__(self,
attr)
1625 return doit
1626 else:
-> 1627 raise AttributeError("Matrix object has no
attribute %s" %attr)
1628
1629 def vec(self):
AttributeError: Matrix object has no attribute d
Or shoud it be .d ?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.