Comment #4 on issue 3614 by [email protected]: Named arguments
http://code.google.com/p/sympy/issues/detail?id=3614
How about this? (already used in sympy/core and elsewhere)
class PointXY(Basic):
def __new__(cls, x, y):
obj = Basic.__new__(cls, x, y)
obj.x = x
obj.y = y
return obj
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.