Re: Default parameter for a method... again

2008-04-16 Thread Matimus
On Apr 16, 9:26 am, [EMAIL PROTECTED] wrote: > I had posted this before but all the spam whipped it out... > > I wanted to know if there's any way to create a method that takes a > default parameter, and that parameter's default value is the return > value of another method of the same class. For e

Default parameter for a method... again

2008-04-16 Thread s0suk3
I had posted this before but all the spam whipped it out... I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For example: class A: def __init__(self): self