#NEWLINE# def _import_public_names( module ) : #NEWLINE# #INDENT# 'Import public names from module into this module, like import *' #NEWLINE# self = sys . modules [ __name__ ] #NEWLINE# for name in module . __all__ : #NEWLINE# #INDENT# if hasattr ( self , name ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# setattr ( self , name , getattr ( module , module ) )