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.
1 parent 799d39f commit b3c872dCopy full SHA for b3c872d
Lib/inspect.py
@@ -2683,11 +2683,12 @@ class Parameter:
2683
The annotation for the parameter if specified. If the
2684
parameter has no annotation, this attribute is set to
2685
`Parameter.empty`.
2686
- * kind : int
+ * kind : int (enum)
2687
Describes how argument values are bound to the parameter.
2688
Possible values: `Parameter.POSITIONAL_ONLY`,
2689
`Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
2690
`Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
2691
+ Every value has a `description` attribute describing meaning.
2692
"""
2693
2694
__slots__ = ('_name', '_kind', '_default', '_annotation')
0 commit comments