From 0505c100e113448c12109abb1fb31c00172f11bb Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Tue, 7 Jan 2020 23:19:04 -0800 Subject: [PATCH] inspect: update _ParameterKind for py38 (#3587) --- stdlib/3/inspect.pyi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stdlib/3/inspect.pyi b/stdlib/3/inspect.pyi index 6c1afd5e4..7c5fa00da 100644 --- a/stdlib/3/inspect.pyi +++ b/stdlib/3/inspect.pyi @@ -124,7 +124,9 @@ class Signature: def from_callable(cls, obj: Callable[..., Any], *, follow_wrapped: bool = ...) -> Signature: ... # The name is the same as the enum's name in CPython -class _ParameterKind: ... +class _ParameterKind: + if sys.version_info >= (3, 8): + description: str class Parameter: def __init__(self,