dagss wrote :
op = y.operator   # so op == cos
if op == cos : ...  # this test is fine, not the next one

Now I want to test an expression with the binomial function call.

y = binomial (3*x, x)    # is fine
op = y.operator()          # is also fine

Why is there a () here, but not in the previous example?
Sorry, it's because my keyboard/eyes/hands copy-past is wrong.
There are parenthesis in the 2 examples.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to