Is o.__dict__ = {} valid?

Aahz aahz at pythoncraft.com
Sun Jun 22 01:09:08 CEST 2003


In article <vf9ohelotr7a4a at corp.supernews.com>,
Edward K. Ream <edreamleo at charter.net> wrote:
>
>3. If o.__dict__ = {} is not valid, is there any standard way to get the
>same effect quickly?

o.__dict__.clear()
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Usenet is not a democracy.  It is a weird cross between an anarchy and a
dictatorship.  




More information about the Python-list mailing list