On Sunday 30 November 2008, Ondrej Certik wrote:
> On Sun, Nov 30, 2008 at 9:56 PM, Neal Becker <[EMAIL PROTECTED]> wrote:
> > On Sunday 30 November 2008, Vinzent Steinberg wrote:
> >> I think e.subs(dict(x=1, y=2)) or e.subs({x:1, y:2}) is much better
> >> than e.subs(x=1, y=2), because it's more explicit, pythonic and less
> >> magic.
> >
> > Oh, I like the look of this (no idea about implementation).
>
> Just to make it clear --- do you like the look of this
> e.subs(dict(x=1, y=2)) or this e.subs(x=1, y=2)?
>

I like the look of the dictionary syntax, although I think e.subs({x:1, y:2}) 
looks better than e.subs(dict(x=1, y=2)).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to