code: def getargspec(func):
      if PY2:
          return CompatArgSpec(*inspect.getargspec(func))
      args = inspect.getfullargspec(func)
      if args.kwonlyargs:
          raise TypeError(
              (
                  "parameterized does not (yet) support functions with keyword "
                  "only arguments, but %r has keyword only arguments. "
                  "Please open an issue with your usecase if this affects you: "
                  "https://github.com/wolever/parameterized/issues/new"
              )
              % (func,)
          )
      return CompatArgSpec(*args[:4])
  
imports: import re
  import sys
  import inspect
  import warnings
  from typing import Iterable
  from functools import wraps
  from types import MethodType
  from collections import namedtuple
  from unittest import TestCase
label_desc: Use image node_id 2 for calling a global function with example usage: getargspec(func) and returns: CompatArgSpec, CompatArgSpec