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 da03b36 commit 9d53cbfCopy full SHA for 9d53cbf
Lib/inspect.py
@@ -2660,11 +2660,12 @@ class Parameter:
2660
The annotation for the parameter if specified. If the
2661
parameter has no annotation, this attribute is set to
2662
`Parameter.empty`.
2663
- * kind : str
+ * kind
2664
Describes how argument values are bound to the parameter.
2665
Possible values: `Parameter.POSITIONAL_ONLY`,
2666
`Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
2667
`Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
2668
+ Every value has a `description` attribute describing meaning.
2669
"""
2670
2671
__slots__ = ('_name', '_kind', '_default', '_annotation')
0 commit comments