Issue 4307: inspect.FullArgSpec does not match the docs (original) (raw)

The docs say that inspect.FullArgSpec is a named tuple

FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations)

However the implementation has "kwdefaults" instead of "kwonlydefaults". The name in the docs seems to make more sense. A patch fixing this is attached.