mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-06 03:23:23 +08:00
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:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user