question about class, functions and scope

nephish nephish at gmail.com
Sat Aug 26 12:17:08 EDT 2006


nephish wrote:
> bearophileHUGS at lycos.com wrote:
> > nephish:
> > > is this legal ? is it pythonic?
> >
> > It's legan and pythonic. Functions are here for a purpose.
> >
> > Bye,
> > bearophile
>
> cool enough, and thanks for the quick reply.
>
> shawn

one more question.
the functions defined above the classes that the could be called from
within the classes, they do not need a 'self' declaration because they
are not part of a class, right?

sk




More information about the Python-list mailing list