[Python-Dev] Accessing base class C struct of subclass instance
Greg Ewing
greg at cosc.canterbury.ac.nz
Sun May 2 23:27:41 EDT 2004
Nick Bastin <nbastin at opnet.com>:
> If I define a new style class in C, and subclass it in python, how can
> I get the base class instance object from a subclass instance in C?
What do you mean by "base class instance object"? That's
a meaningless combination of words to me.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list