Add undocumented telnetlib.Telnet attribute. (#4932)

A pytype user reported it missing:
https://github.com/google/pytype/issues/590.
This commit is contained in:
Rebecca Chen
2021-01-13 16:57:00 -08:00
committed by GitHub
parent 1feccfc54a
commit 5cf4f77401

View File

@@ -82,6 +82,7 @@ EXOPL: bytes
NOOPT: bytes
class Telnet:
host: Optional[str] # undocumented
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: ...