socket.create_connection allows host to be None (#2136)

This commit is contained in:
Dmitry Figol authored and Jelle Zijlstra committed 2018-05-17 09:45:59 -04:00
1 parent 97d9f2eb2c
commit f7f00c52af
1 file changed
+1 -1
+1 -1
View File
@@ -576,7 +576,7 @@ class socket:
# ----- functions -----
def create_connection(address: Tuple[str, int],
def create_connection(address: Tuple[Optional[str], int],
timeout: float = ...,
source_address: Tuple[str, int] = ...) -> socket: ...