parameters: (p)
docstring: idlist  : idlist optcomma tokenid
                 | tokenid
docstring_summary: idlist  : idlist optcomma tokenid
                 | tokenid
docstring_tokens: idlist : idlist optcomma tokenid | tokenid
function: def p_idlist(p):
      '''idlist  : idlist optcomma tokenid
                 | tokenid'''
      if len(p) == 2:
          p[0] = [p[1]]
      else:
          p[0] = p[1]
          p[1].append(p[3])
function_tokens: def p_idlist ( p ) : if len ( p ) == 2 : p [ 0 ] = [ p [ 1 ] ] else : p [ 0 ] = p [ 1 ] p [ 1 ] . append ( p [ 3 ] )