mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
inspect._ParameterKind.description is a property (#6587)
This commit is contained in:
@@ -205,7 +205,8 @@ class _ParameterKind(enum.IntEnum):
|
||||
VAR_KEYWORD: int
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
description: str
|
||||
@property
|
||||
def description(self) -> str: ...
|
||||
|
||||
class Parameter:
|
||||
def __init__(self, name: str, kind: _ParameterKind, *, default: Any = ..., annotation: Any = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user