diff --git a/lark-stubs/visitors.pyi b/lark-stubs/visitors.pyi index eed75f6..ac414e6 100644 --- a/lark-stubs/visitors.pyi +++ b/lark-stubs/visitors.pyi @@ -7,7 +7,7 @@ from .tree import Tree _T = TypeVar('_T') _R = TypeVar('_R') _FUNC = Callable[..., _T] -_DECORED = Union[_FUNC, type] +_DECORATED = Union[_FUNC, type] class Transformer(ABC, Generic[_T]): @@ -76,7 +76,7 @@ def v_args( inline: bool = False, meta: bool = False, tree: bool = False -) -> Callable[[_DECORED], _DECORED]: +) -> Callable[[_DECORATED], _DECORATED]: ...