Nested inner classes and inheritance -> namespace problem

James Mills prologic at shortcircuit.net.au
Wed Apr 13 05:31:13 EDT 2011


On Wed, Apr 13, 2011 at 7:12 PM, Larry Hastings <larry at hastings.org> wrote:
> Yes, I could make the problem go away if I didn't have nested inner classes
> like this.  But I like this structure.  Any idea how I can make it work
> while preserving the nesting and inheritance?

It's probably better to make use of modules here
as opposed to nesting classes.

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"



More information about the Python-list mailing list