def sameTMParams(tp1, tp2):
result = True<EOL>for param in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>if getattr(tp1, param) != getattr(tp2,param):<EOL><INDENT>print(param,"<STR_LIT>")<EOL>print(getattr(tp1, param), "<STR_LIT>", getattr(tp2,param))<EOL>result = False<EOL><DEDENT><DEDENT>return result<EOL>
Given two TM instances, see if any parameters are different.