1. Joe Amenta
  2. lib3to2
  3. Issues
Issue #23 resolved

inspect.getfullargspec -> inspect.getargspec

Joe Amenta
repo owner created an issue

inspect.getargspec, in both Python2 and Python3, returns a NamedTuple of (args, varargs, keywords, defaults). However, in Python3, inspect.getfullargspec returns these plus a few other values: kwonlyargs, kwonlydefaults, and annotations.

Even though those last three are Python3-specific, the name getfullargspec still needs to be refactored to getargspec.

Comments (1)

  1. Log in to comment