Syntax Error While Parsing Array In Python Definition