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

Marc Gronle Marc.Gronle at gmx.de
Thu Apr 28 17:16:20 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
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /