Debian Codegraph @

ninja/types.py

raw symbols SCIP
1 from typing import Any, Callable, Dict, TypeVar
2
3 __all__ = ["DictStrAny", "TCallable"]
4
5 DictStrAny = Dict[str, Any]
6
7 TCallable = TypeVar("TCallable", bound=Callable[..., Any])
8
9
10 # unfortunately this doesn't work yet, see
11 # https://github.com/python/mypy/issues/3924
12 # Decorator = Callable[[TCallable], TCallable]