I find the above error message, which can be generated in tons of different ways
rather amusing. How can one have less than 0 arguments?
Here's one command that gives this error, but there are several hundred of them.
sage: catalan(11)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/export/home/drkirkby/sage-4.6.alpha3/<ipython console> in <module>()
/export/home/drkirkby/sage-4.6.alpha3/local/lib/python2.6/site-packages/sage/symbolic/expression.so
in sage.symbolic.expression.Expression.__call__
(sage/symbolic/expression.cpp:15647)()
/export/home/drkirkby/sage-4.6.alpha3/local/lib/python2.6/site-packages/sage/symbolic/ring.so
in sage.symbolic.ring.SymbolicRing._call_element_ (sage/symbolic/ring.cpp:6497)()
ValueError: the number of arguments must be less than or equal to 0
Does anyone have any ideas how that might be improved?
Other commands give a different, and more useful error message. i.e.
sage: zeta_zeros(1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/export/home/drkirkby/sage-4.6.alpha3/<ipython console> in <module>()
TypeError: zeta_zeros() takes no arguments (1 given)
Dave
--
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