def get_info(pyfile):
info = {}<EOL>info_re = re.compile(r"<STR_LIT>")<EOL>with open(pyfile, '<STR_LIT:r>') as f:<EOL><INDENT>for line in f.readlines():<EOL><INDENT>match = info_re.search(line)<EOL>if match:<EOL><INDENT>info[match.group(<NUM_LIT:1>)] = match.group(<NUM_LIT:2>)<EOL><DEDENT><DEDENT><DEDENT>return info<EOL>
Retrieve dunder values from a pyfile