code: def p_args(self, p):
          
          if len(p) > 3:
              if p[3] == ',':
                  p[0] = (p[2], p[4])
              elif isinstance(p[2], dict):
                  p[0] = ([], p[2])
              else:
                  p[0] = (p[2], {})
          else:
              p[0] = ([], {})
docs: args : LPAR pos_args_list COMMA kw_args RPAR
                  | LPAR pos_args_list RPAR
                  | LPAR kw_args RPAR
                  | LPAR RPAR
                  | empty