Issue 4307: inspect.FullArgSpec does not match the docs
Created on 2008-11-12 16:24 by hagen, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| inspect.patch | hagen, 2008-11-12 16:24 | |||
| Messages (4) | |||
|---|---|---|---|
| msg75788 - (view) | Author: Hagen Fürstenau (hagen) | Date: 2008-11-12 16:24 | |
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. |
|||
| msg75797 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-11-12 21:24 | |
This patch looks good. |
|||
| msg75799 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2008-11-12 21:32 | |
Agreed! |
|||
| msg75800 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-11-12 21:39 | |
Thanks for the patch! Fixed in r67203. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:41 | admin | set | github: 48557 |
| 2008-11-12 21:39:20 | benjamin.peterson | set | status: open -> closed resolution: accepted -> fixed messages: + msg75800 |
| 2008-11-12 21:32:10 | christian.heimes | set | priority: normal resolution: accepted messages: + msg75799 nosy: + christian.heimes stage: patch review |
| 2008-11-12 21:24:14 | benjamin.peterson | set | assignee: benjamin.peterson messages: + msg75797 nosy: + benjamin.peterson |
| 2008-11-12 16:24:36 | hagen | create | |
