When is a __dict__ not a __dict__?
John Roth
newsgroups at jhrothjr.com
Wed Apr 21 06:31:09 EDT 2004
"Derek Fountain" <devnull at example.com> wrote in message
news:4085f2a4$0$16601$5a62ac22 at freenews.iinet.net.au...
> Am I correct in thinking that a Python object which comes from a bit of C
> code doesn't have a __dict__ attribute? I'm trying to poke around inside
> the objects which control the expat XML parser, but they don't seem to
have
> __dict__s.
It depends on the object. Some do, many don't.
John Roth
More information about the Python-list
mailing list