update stub for requests.check_connect

This commit is contained in:
Prodesire 2018-03-27 20:30:10 +08:00
parent 516a12a53e
commit 14a476868c
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ class FileName(object):
def from_any(cls, dst: str=None, headers: Headers=None, url: str=None) -> Optional[str]: ... def from_any(cls, dst: str=None, headers: Headers=None, url: str=None) -> Optional[str]: ...
def download(url: str, dst: str=None) -> str: ... def download(url: str, dst: str=None) -> str: ...
def check_connect(ip: str, port: int, retry: int, timout: float) -> Optional[str]: ... def check_connect(ip: str, port: int, retry: int=1, timout: float=0.5) -> Optional[str]: ...