Did you see the above discussion about how to handle the *args part of
it?  I don't think we want to simply pass *args on to self.subs.

Brian

On Fri, Nov 14, 2008 at 11:13 AM, llarsen <[EMAIL PROTECTED]> wrote:
>
> Oops. Last post got sent before I was finished. Anyway, as I mentioned
> I modified the code to accept the f(x=1,y=2), but the __call__ method
> was already a part of the basic class. I modified subs to accept the
> syntax f.subs(x=1, y=2) and changed the call function to forward
> directly to the subs function:
>
> def __call__(self, *args, **kwargs):
>    return self.subs(*args, **kwargs)
>
> The changes seem to work fine, but some test cases failed... Just
> realized that I may have some python path issues causing my tests to
> give spurious failures. Once I have addressed this and checked tests I
> will give an update.
> >
>

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

Reply via email to