mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Fix py3 types of inspect.FullArgSpec.var(args|kw) (#2556)
This commit is contained in:
committed by
Jelle Zijlstra
parent
c0d181605e
commit
3d8a8ec45d
@@ -192,8 +192,8 @@ def getargs(co: CodeType) -> Arguments: ...
|
||||
def getargspec(func: object) -> ArgSpec: ...
|
||||
|
||||
FullArgSpec = NamedTuple('FullArgSpec', [('args', List[str]),
|
||||
('varargs', str),
|
||||
('varkw', str),
|
||||
('varargs', Optional[str]),
|
||||
('varkw', Optional[str]),
|
||||
('defaults', tuple),
|
||||
('kwonlyargs', List[str]),
|
||||
('kwonlydefaults', Dict[str, Any]),
|
||||
|
||||
Reference in New Issue
Block a user