By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,532 Members | 1,483 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,532 IT Pros & Developers. It's quick & easy.

When is a __dict__ not a __dict__?

P: n/a
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.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Derek Fountain" <de*****@example.com> wrote in message
news:40***********************@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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.