destroy your self????

Dave Brueck dave at pythonapocrypha.com
Wed Oct 19 23:04:45 EDT 2005


KraftDiner wrote:
> if I create an object like...
> 
> obj = None
> ...
> obj = anObject()
> 
> can obj set itself to none in some method of the class?

No - Python doesn't work that way.

What are you trying to accomplish? There's probably a way to do what you need to 
do, but this isn't it.

-Dave



More information about the Python-list mailing list