[New-bugs-announce] [issue4307] inspect.FullArgSpec does not match the docs

Hagen Fürstenau report at bugs.python.org
Wed Nov 12 17:24:37 CET 2008


New submission from Hagen Fürstenau <hfuerstenau at gmx.net>:

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.

----------
components: Library (Lib)
files: inspect.patch
keywords: patch
messages: 75788
nosy: hagen
severity: normal
status: open
title: inspect.FullArgSpec does not match the docs
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file11994/inspect.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4307>
_______________________________________


More information about the New-bugs-announce mailing list