Użytkownik Ed Leafe napisał:
>>      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.
>
>    

Exactly it is.
But this is wrong example because dControlMixinBase isn't imported into 
the ui namespace.
More suitable is the dabo.ui.dControlMixin class which is in the ui 
namespace.
For framework developer important is the dabo.ui.dControlMixin.__module__,
but application developer just refers to the ui, no matter if it is wx 
or other.

-- 
Regards
Jacek Kałucki

_______________________________________________
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]

Reply via email to