subclassing an extension (non built-in) class / type in python 3.2

Marc Gronle Marc.Gronle at gmx.de
Thu Apr 28 17:13:52 EDT 2011


Hello everybody,

I read in the extending and embedding documentation of python 3, that it is easily possible to subclass or subtype a built-in type. However, in my case, I would like to subclass a class, defined in a external python-file (py), which I can import in my C++-application and access the class by the module's dictionary.

Does anybody have an example or just a hint, how to successfully realize this type of inheritance?

I will be grateful for every response.

Cheers

Marc
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl



More information about the Python-list mailing list