Skip to content

Commit 1f4acea

Browse files
mxrRoy Williams
authored and
Roy Williams
committed
Add type stub for requests.packages.urllib3.util.connection.HAS_IPV6 (python#1436)
This is defined at https://github.com/requests/requests/blob/v2.14.2/requests/packages/urllib3/util/connection.py#L130
1 parent d260bb4 commit 1f4acea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

third_party/2and3/requests/packages/urllib3/util/connection.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ from typing import Any
22

33
poll = ... # type: Any
44
select = ... # type: Any
5+
HAS_IPV6 = ... # type: bool
56

67
def is_connection_dropped(conn): ...
78
def create_connection(address, timeout=..., source_address=..., socket_options=...): ...

0 commit comments

Comments
 (0)