[Python-Dev] Accessing base class C struct of subclass instance (original) (raw)
Nick Bastin nbastin at opnet.com
Fri Apr 30 14:15:15 EDT 2004
- Previous message: [Python-Dev] Accessing base class C struct of subclass instance
- Next message: [Python-Dev] Re: PEP 289 - Generator Expressions - Let's MoveForward
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Apr 30, 2004, at 2:01 PM, Nick Bastin wrote:
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?
Nevermind...the obvious solution works correctly.
-- Nick
- Previous message: [Python-Dev] Accessing base class C struct of subclass instance
- Next message: [Python-Dev] Re: PEP 289 - Generator Expressions - Let's MoveForward
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]