Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4267
| Date | 2011-04-28 23:16 +0200 |
|---|---|
| From | "Marc Gronle" <Marc.Gronle@gmx.de> |
| Subject | Fwd: subclassing an extension (non built-in) class / type in python 3.2 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.961.1304025384.9059.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
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
csiph-web