Skip to content

Commit 799d39f

Browse files
committed
Correct the type of Parameter.kind attribute
1 parent b866a1c commit 799d39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ class Parameter:
26832683
The annotation for the parameter if specified. If the
26842684
parameter has no annotation, this attribute is set to
26852685
`Parameter.empty`.
2686-
* kind : str
2686+
* kind : int
26872687
Describes how argument values are bound to the parameter.
26882688
Possible values: `Parameter.POSITIONAL_ONLY`,
26892689
`Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,

0 commit comments

Comments
 (0)