2010/1/7 Jason Grout <[email protected]>: > 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 [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
