[Python-Dev] Accessing base class C struct of subclass instance (original) (raw)
Nick Bastin nbastin at opnet.com
Fri Apr 30 14:01:40 EDT 2004
- Previous message: [Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
- Next message: [Python-Dev] Accessing base class C struct of subclass instance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok, strange subject, but I have what seems like a simple question that the documentation doesn't seem to cover (and a quick perusal of the code doesn't answer, either).
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?
-- Nick
- Previous message: [Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
- Next message: [Python-Dev] Accessing base class C struct of subclass instance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]