SpreadTooThin wrote:
> the =() syntax indicates what?
No special syntax, just an empty tuple as a default parameter.
In this case I could have used an empty list, too, but I thought I'd spare
you the dangers of mutable default values as explained here:
http://www.python.org/doc/faq/general/#id53
Peter Otten wrote:
> SpreadTooThin wrote:
>
> > If you are deriving a new class from another class,
> > that you must (I assume) know the initializer of the other class.
> >
> > So in myClass
> >
> > import array
> > class myClass(arrary.array):
> >def __init__(self, now here I need to put arr
SpreadTooThin wrote:
> If you are deriving a new class from another class,
> that you must (I assume) know the initializer of the other class.
>
> So in myClass
>
> import array
> class myClass(arrary.array):
>def __init__(self, now here I need to put array's constructor
> parameters..., the
On 3 Oct 2006 19:09:53 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
> If you are deriving a new class from another class,
> that you must (I assume) know the initializer of the other class.
>
> So in myClass
>
> import array
> class myClass(arrary.array):
>def __init__(self, now here I need
SpreadTooThin wrote:
> If you are deriving a new class from another class,
> that you must (I assume) know the initializer of the other class.
>
> So in myClass
>
> import array
> class myClass(arrary.array):
>def __init__(self, now here I need to put array's constructor
> parameters..., then
If you are deriving a new class from another class,
that you must (I assume) know the initializer of the other class.
So in myClass
import array
class myClass(arrary.array):
def __init__(self, now here I need to put array's constructor
parameters..., then mine):
array.array.__init__(self