We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
inspect.Parameter
kind
1 parent cb1d20b commit f619ef2Copy full SHA for f619ef2
1 file changed
Lib/inspect.py
@@ -2745,11 +2745,12 @@ class Parameter:
2745
The annotation for the parameter if specified. If the
2746
parameter has no annotation, this attribute is set to
2747
`Parameter.empty`.
2748
- * kind : str
+ * kind
2749
Describes how argument values are bound to the parameter.
2750
Possible values: `Parameter.POSITIONAL_ONLY`,
2751
`Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
2752
`Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
2753
+ Every value has a `description` attribute describing meaning.
2754
"""
2755
2756
__slots__ = ('_name', '_kind', '_default', '_annotation')
0 commit comments