Unification of Methods and Functions
Greg Ewing
greg at cosc.canterbury.ac.nz
Thu May 6 02:12:18 EDT 2004
David MacQuigg wrote:
> Explanation of Instance Variables in Python
> -------------------------------------------
> """ Some of the variables inside the functions in a class have a
> self. prefix. This is to distinguish local variables in the function
> from "instance variables". These instance variables will be found
> when the function is called...
Just because a particular writer uses more waffle than
necessary to explain something about Python doesn't mean
the thing being explained is complicated enough to require
that many words.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list