A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044621.html below:

[Python-Dev] Accessing base class C struct of subclass instance

[Python-Dev] Accessing base class C struct of subclass instance [Python-Dev] Accessing base class C struct of subclass instanceNick Bastin nbastin at opnet.com
Fri Apr 30 14:15:15 EDT 2004
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


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4