On Fri, Nov 14, 2008 at 7:52 PM, llarsen <[EMAIL PROTECTED]> wrote: > > I update the code to support the f(x=1, y=2) syntax. However, it > turned out that there __call__ was already being used. The following > is the current implementation: > > def __call__(self, *args, **removeme): > return Function(self[0])(*args)
Yes, this implementation is clearly wrong and not tested, as we moved from self[0] to self.args[0] a long time ago. Also please write tests for the new functionality. Ondrej --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---