From: Kent J. <ken...@sk...> - 2003-11-14 21:19:06
|
At 12:56 PM -0800 11/14/03, Frank Cohen wrote: >(This is why I should re-read my email before sending...) > >Here is the correct class: > >class myclass: > def mymethod( self, myparam ): > self.storeit = myparam > >Which dictionary is myparam begin store in? The dictionary of the myclass instance for which mymethod was called >Do I have to worry that some other call to another instance of >myclass will get the myparam value? No, each instance of myclass has its own value of storeit (in its own dictionary) Kent |