mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
inspect: update _ParameterKind for py38 (#3587)
This commit is contained in:
committed by
Jelle Zijlstra
parent
da9b7dd7c8
commit
0505c100e1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user