def __eq__(self, other):
if not (hasattr(other, '<STR_LIT>') and hasattr(other, '<STR_LIT>')) and len(other) < <NUM_LIT:2>:<EOL><INDENT>return False<EOL><DEDENT>other = Position(other)<EOL>return self.line == other.line and self.column == other.column<EOL>
Compares Positions or Position and tuple

        Will not fail if other is an unsupported type