decorators.pyi: Add Any angument to Callable[] (#2654)

Fixes #2615
This commit is contained in:
Utkarsh Gupta
2018-11-30 15:03:22 +05:30
committed by Sebastian Rittau
parent 84548f5bba
commit 407e4bb679

View File

@@ -10,7 +10,7 @@ _F = TypeVar('_F', bound=Callable[..., Any])
# _Decorator = Callable[[_F], _F]
_Callback = Callable[
[Context, Union[Option, Parameter], Union[bool, int, str]],
[Context, Union[Option, Parameter], Any],
Any
]