In most cases, type[...] is used for type hints of constructors. However, the constructors of subclasses of that class do not necessarily have the same signature. Therefore, it is more clear to use Callable[...] that declares the signature more clearly.
In most cases,
type[...]
is used for type hints of constructors. However, the constructors of subclasses of that class do not necessarily have the same signature. Therefore, it is more clear to useCallable[...]
that declares the signature more clearly.