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: [email protected]
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/[email protected]