Add type stub for requests.packages.urllib3.util.connection.HAS_IPV6 (#1436)

This is defined at https://github.com/requests/requests/blob/v2.14.2/requests/packages/urllib3/util/connection.py#L130
This commit is contained in:
Max Rozentsveyg
2017-06-26 11:52:24 -07:00
committed by Jelle Zijlstra
parent d260bb4889
commit d3f9c55203

View File

@@ -2,6 +2,7 @@ from typing import Any
poll = ... # type: Any
select = ... # type: Any
HAS_IPV6 = ... # type: bool
def is_connection_dropped(conn): ...
def create_connection(address, timeout=..., source_address=..., socket_options=...): ...