Comment #3 on issue 2293 by sherjilo...@gmail.com: Unexpected limit behaviour
http://code.google.com/p/sympy/issues/detail?id=2293

Could someone suggest an error string ?
How about ValueError("Invalid limit variable %s" %z) ?



In [1]: limit(x**2, 4, 0)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)

/Users/sherjilozair/sympy/<ipython console> in <module>()

/Users/sherjilozair/sympy/sympy/series/limits.py in limit(e, z, z0, dir)
     45
     46     if not isinstance(z, Symbol):
---> 47         raise ValueError("Invalid limit variable %s" %z)
     48
     49     if not e.has(z):

ValueError: Invalid limit variable 4


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

Reply via email to