def paramname(param="<STR_LIT>"):
try: <EOL><INDENT>name = pinfo[str(param)][<NUM_LIT:0>].strip().split("<STR_LIT:U+0020>")[<NUM_LIT:1>]<EOL><DEDENT>except (KeyError, ValueError) as err:<EOL><INDENT>print("<STR_LIT>".format(param), err)<EOL>raise<EOL><DEDENT>return name<EOL>
Get the param name from the dict index value.