def p_element_list(self, p):
if len(p) == <NUM_LIT:3>:<EOL><INDENT>p[<NUM_LIT:0>] = p[<NUM_LIT:1>] + [p[<NUM_LIT:2>]]<EOL><DEDENT>else:<EOL><INDENT>p[<NUM_LIT:1>].extend(p[<NUM_LIT:3>])<EOL>p[<NUM_LIT:1>].append(p[<NUM_LIT:4>])<EOL>p[<NUM_LIT:0>] = p[<NUM_LIT:1>]<EOL><DEDENT>
element_list : elision_opt assignment_expr
                        | element_list COMMA elision_opt assignment_expr