Just use plain Callable

This commit is contained in:
Zach Hammer 2019-12-05 18:13:53 +01:00 committed by Jennifer Taylor
parent 6b696c2339
commit 8e6bf9e982

View file

@ -10,7 +10,7 @@ from typing import TYPE_CHECKING, Any, Callable, TypeVar, cast
if TYPE_CHECKING:
from libcst._typed_visitor import CSTTypedBaseFunctions # noqa: F401
FuncType = Callable[["CSTTypedBaseFunctions", ...], None]
FuncType = Callable
F = TypeVar("F", bound=FuncType)