instances v. threads

Scott David Daniels Scott.Daniels at Acm.Org
Sat Nov 20 01:03:06 CET 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