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

bruno at modulix onurb at xiludom.gro
Mon Apr 24 07:08:00 EDT 2006


Lawrence D'Oliveiro wrote:
(snip)
> 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.

According to which definition of OO ?

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list