Le mercredi 15 février 2012 à 14:25 -0800, Kevin Hunter a écrit :
> Hmm, have there been API changes recently?  With your branch, I'm not
> able to check an Equality expression for the attribute is_Relational:
> 
> 
> >>> from sympy import *
> >>> from sympy.abc import x, y
> >>> Eq(x, y).is_Relational
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'Equality' object has no attribute 'is_Relational'
> >>> 
> 
Bah, you'd better off avoiding the is_Class attributes anyway, they're
just confusing. Use "isinstance(Eq(x, y), Relational)" instead.


-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to