Message202773
The following patch corrects the docstring of `inspect.Parameter`, as the `default` and `annotation` attributes are in fact set to `empty` if no value is provided, and the `kind` attribute is in fact an `int` (more precisely, a `_ParameterKind`). It also reimplements the `_ParameterKind` type as an `IntEnum`, as the previous implementation (which predates stdlib enums) was more or less a hand-rolled `IntEnum`. |
|
| Date |
User |
Action |
Args |
| 2013-11-13 19:33:43 | Antony.Lee | set | recipients:
+ Antony.Lee, docs@python |
| 2013-11-13 19:33:43 | Antony.Lee | set | messageid: <[email protected]> |
| 2013-11-13 19:33:42 | Antony.Lee | link | issue19573 messages |
| 2013-11-13 19:33:42 | Antony.Lee | create | |
|