We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inspect.Parameter
kind
1 parent 27ded24 commit 4c95ad8Copy full SHA for 4c95ad8
Lib/inspect.py
@@ -2666,11 +2666,12 @@ class Parameter:
2666
The annotation for the parameter if specified. If the
2667
parameter has no annotation, this attribute is set to
2668
`Parameter.empty`.
2669
- * kind : str
+ * kind
2670
Describes how argument values are bound to the parameter.
2671
Possible values: `Parameter.POSITIONAL_ONLY`,
2672
`Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
2673
`Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
2674
+ Every value has a `description` attribute describing meaning.
2675
"""
2676
2677
__slots__ = ('_name', '_kind', '_default', '_annotation')
0 commit comments