mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-16 23:13:37 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -84,8 +84,7 @@ EXOPL: bytes
|
||||
NOOPT: bytes
|
||||
|
||||
class Telnet:
|
||||
def __init__(self, host: Optional[str] = ..., port: int = ...,
|
||||
timeout: int = ...) -> None: ...
|
||||
def __init__(self, host: Optional[str] = ..., port: int = ..., timeout: int = ...) -> None: ...
|
||||
def open(self, host: str, port: int = ..., timeout: int = ...) -> None: ...
|
||||
def msg(self, msg: str, *args: Any) -> None: ...
|
||||
def set_debuglevel(self, debuglevel: int) -> None: ...
|
||||
@@ -109,7 +108,9 @@ class Telnet:
|
||||
def interact(self) -> None: ...
|
||||
def mt_interact(self) -> None: ...
|
||||
def listener(self) -> None: ...
|
||||
def expect(self, list: Sequence[Union[Pattern[bytes], bytes]], timeout: Optional[int] = ...) -> Tuple[int, Optional[Match[bytes]], bytes]: ...
|
||||
def expect(
|
||||
self, list: Sequence[Union[Pattern[bytes], bytes]], timeout: Optional[int] = ...
|
||||
) -> Tuple[int, Optional[Match[bytes]], bytes]: ...
|
||||
if sys.version_info >= (3, 6):
|
||||
def __enter__(self) -> Telnet: ...
|
||||
def __exit__(self, type: Any, value: Any, traceback: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user