instances v. threads

Scott David Daniels Scott.Daniels at Acm.Org
Fri Nov 19 19:03:06 EST 2004


Rob Snyder wrote:
...
> Now, suppose your class really looked like this:
> 
> class xyz:
>         def one(stuff):
>                 self.data = stuff
> 

Let's make this (as I'm sure you know):
 > class xyz:
 >         def one(self, stuff):
 >                 self.data = stuff

I just want to make sure newbies reading this doesn't get confused.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list