Hello, I think this should be done in the reverse order:
In [15]: (x+y).subs([(y,x**2), (x,2)]) Out[15]: 2 2 + x In [16]: (x+y).subs([(x,2), (y,x**2)]) Out[16]: 6 ? Friedrich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---