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

Not necessarily clearer, because in this case I would expect to have is_Application for sin(1) case (in early days of SymPy we had applied and unapplied functions). But anyway, look at this:

In [1]: sin.nargs
Out[1]: 1

In [2]: sin(1).nargs
Out[2]: 1

This suggests that I should be allowed to do this:

In [3]: sin(1)(1)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/mateusz/repo/git/sympy/<ipython console> in <module>()

TypeError: 'sin' object is not callable

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