Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4267 > unrolled thread

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

Started by"Marc Gronle" <Marc.Gronle@gmx.de>
First post2011-04-28 23:16 +0200
Last post2011-04-28 23:16 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Fwd: subclassing an extension (non built-in) class / type in python 3.2 "Marc Gronle" <Marc.Gronle@gmx.de> - 2011-04-28 23:16 +0200

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

From"Marc Gronle" <Marc.Gronle@gmx.de>
Date2011-04-28 23:16 +0200
SubjectFwd: subclassing an extension (non built-in) class / type in python 3.2
Message-ID<mailman.961.1304025384.9059.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web