mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 18:31:14 +08:00
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:
committed by
Jelle Zijlstra
parent
d260bb4889
commit
d3f9c55203
@@ -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=...): ...
|
||||
|
||||
Reference in New Issue
Block a user