Comment #1 on issue 2230 by [email protected]: Problem in is_Function ans is_Number
http://code.google.com/p/sympy/issues/detail?id=2230

This is not a bug. x.is_Something (capital letter) is a replacement for isinstance(x, Something). If you want to check if a complex expression is a number the use is_number property, e.g.:

In [1]: sin(1).is_number
Out[1]: True

In [2]: sin(1).is_Number
Out[2]: False

--
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.

Reply via email to