Add new semantic analyzer to mypy tests (#3037)

This also removes two redundant definitions in curses/__init__.pyi star-imported from _curses.
This commit is contained in:
Ivan Levkivskyi
2019-06-07 16:49:57 +01:00
committed by GitHub
parent 87f96dc1f0
commit 61eb99664b
3 changed files with 12 additions and 4 deletions

View File

@@ -1,12 +1,9 @@
import _curses
from _curses import * # noqa: F403
from typing import TypeVar, Callable, Any, Sequence, Mapping
from typing import TypeVar, Callable, Any
_T = TypeVar('_T')
LINES: int
COLS: int
def initscr() -> _curses._CursesWindow: ...
def start_color() -> None: ...
def wrapper(func: Callable[..., _T], *arg: Any, **kwds: Any) -> _T: ...