I would like to do: def foo(self,x,y=self.a)
where the default value for y=self.a. Since this is not possible, I
wind up doing
def foo(self,x,y=None)
if not y:
y=self.a
but that seems kind of clumsy.
Is there a better way to do this?
Thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
