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
Fri Apr 21 19:09:43 EDT 2006


In article <1145650105.664762.321560 at j33g2000cwa.googlegroups.com>,
 "Sandra-24" <sandravandale at yahoo.com> wrote:

>Can you create an instance of a subclass using an existing instance of
>the base class?

I think you're taking Python's OO-ness too seriously. One of the 
strengths of Python is that it can _look_ like an OO language without 
actually being OO.



More information about the Python-list mailing list