2010/1/7 Jason Grout <jason-s...@creativetrax.com>: > I haven't read this thread very carefully, but just from a python > perspective, you probably want something like the following to pass on all > of the arguments. > > def factor(self, *args, **kwds) > return self.numerator().factor(*args,**kwds)/self.denominator().factor > (*args,**kwds) >
Thanks, Jason -- very helpful. John
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org