def get_phrases_from_module(module):
 return (module.WORDS if hasattr(module, 'WORDS') else [])

def get_phrases_from_module ( module ) : return ( module . WORDS if hasattr ( module , 'WORDS' ) else [ ] )
gets phrases from a module .