#NEWLINE# def read_package( package_name ) : #NEWLINE# #INDENT# ' Parse every module in the specified package. ' #NEWLINE# filename = find_module ( package_name ) #NEWLINE# if ( filename is None ) : #NEWLINE# #INDENT# raise ValueError ( ( "no such package '%s'" % package_name ) ) #NEWLINE# #UNINDENT# package = Package ( filename = filename , name = package_name ) #NEWLINE# read_directory ( filename , package ) #NEWLINE# return package