#NEWLINE# def p_argument3( p ) : #NEWLINE# #INDENT# ' argument : test EQUAL test ' #NEWLINE# arg = p [ 1 ] #NEWLINE# if ( not isinstance ( arg , ast . Name ) ) : #NEWLINE# #INDENT# msg = 'Keyword arg must be a Name.' #NEWLINE# tok = FakeToken ( p . lexer . lexer , p . lineno ( 2 ) ) #NEWLINE# syntax_error ( msg , tok ) #NEWLINE# #UNINDENT# value = p [ 3 ] #NEWLINE# p [ 0 ] = ast . keyword ( arg = arg . id , value = value , lineno = p . lineno ( 2 ) )