From d390a9c0b1e45bbe039cbdac66d9f5a9828585e4 Mon Sep 17 00:00:00 2001 From: Brice Arnould Date: Fri, 4 Dec 2020 00:11:12 +0100 Subject: [PATCH] type stubs: fix typo --- lark-stubs/visitors.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]: ...