Can you create an instance of a subclass with an existing instance of the base class?
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Mon Apr 24 00:33:12 EDT 2006
In article <1145801642.764905.30020 at v46g2000cwv.googlegroups.com>,
"Sandra-24" <sandravandale at yahoo.com> wrote:
>However in this case I'm simply getting an object (an mp_request object
>from mod_python) passed into my function, and before I pass it on to
>the functions that make up and individual web page it is modified by
>adding members and methods to add functionality.
All you want is a dictionary, then. That's basically what Python objects
are.
More information about the Python-list
mailing list