On Feb 9, 2011, at 8:43 AM, Jacek Kałucki wrote:

>>> But it then finds dabo.ui.uiwx.dControlMixinBase.dControlMixinBase
>>> 
>> should have been:
>> 
>> dabo.ui.dControlMixinBase.dControlMixinBase
> 
> Why? The dControlMixinBase class is already in the ui namespace,
> so the correct reference is:
>     dabo.ui.dControlMixinBase


        I think that that's simply the way that Python works:

>>> b = dabo.ui.dControlMixinBase
>>> b
<module 'dabo.ui.dControlMixinBase' from 
'/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dabo/ui/dControlMixinBase.pyc'>
>>> b.dControlMixinBase
<class 'dabo.ui.dControlMixinBase.dControlMixinBase'>

        Since the class is in the file (module) of the same name, it returns 
the full module.class name.



-- Ed Leafe



_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/b3a0944e-1b71-443d-8ad1-8baa8f38b...@leafe.com

Reply via email to