Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium

New issue 2677 by asmeurer: subs(Eq) does not work
http://code.google.com/p/sympy/issues/detail?id=2677

I could have sworn this worked, but I couldn't find anywhere in the history where it does. Anyway, it should:


In [1]: x.subs(Eq(x, 1))
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/Users/aaronmeurer/Documents/python/sympy/sympy/<ipython console> in <module>()

/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/core/basic.py in subs(self, *args)
    653                 return self._subs_list(sequence)
    654             else:
--> 655                 raise TypeError("Not an iterable container")
    656         elif len(args) == 2:
    657             old, new = args

TypeError: Not an iterable container


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