mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 11:51:28 +08:00
committed by
Łukasz Langa
parent
93bb4604cb
commit
2cb8e184cc
@@ -10,6 +10,7 @@ from typing import (
|
||||
from abc import abstractmethod, ABCMeta
|
||||
from types import TracebackType
|
||||
import sys
|
||||
from mypy_extensions import NoReturn
|
||||
|
||||
# Note that names imported above are not automatically made visible via the
|
||||
# implicit builtins import.
|
||||
@@ -697,7 +698,7 @@ def eval(source: str, globals: Dict[str, Any] = None,
|
||||
locals: Mapping[str, Any] = None) -> Any: ... # TODO code object as source
|
||||
def exec(object: str, globals: Dict[str, Any] = None,
|
||||
locals: Mapping[str, Any] = None) -> Any: ... # TODO code object as source
|
||||
def exit(code: int = None) -> None: ...
|
||||
def exit(code: int = None) -> NoReturn: ...
|
||||
@overload
|
||||
def filter(function: Callable[[_T], Any], iterable: Iterable[_T]) -> Iterator[_T]: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user