Re: [Pyobjc-dev] setVerbose()
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-01-03 06:55:23
|
On Thursday, Jan 2, 2003, at 22:16 Europe/Amsterdam, Bill Bumgarner wrote: > On Thursday, Jan 2, 2003, at 14:11 US/Eastern, Ronald Oussoren wrote: >> Don't do that then ;-) I really mean that, the objc module is meant >> to be used with 'import objc' instead of 'from objc import *'. > > OK -- then, it is... > > import objc > from objc import YES, NO > > ... for me, anyway. We could define __all__ in objc/__init__.py: __all__ = [ 'YES', 'NO', 'IBAction', 'IBOutlet' ] That would make it possible to do 'from objc import *' for accessing often used 'end-user' functionality, while keeping the namespace clean. Ronald |