Browse Source

type stubs: fix typo

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.2
Brice Arnould 3 years ago
parent
commit
d390a9c0b1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lark-stubs/visitors.pyi

+ 2
- 2
lark-stubs/visitors.pyi View File

@@ -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]:
...




Loading…
Cancel
Save