Skip to content

Commit

Permalink
socket.create_connection allows host to be None (#2136)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfigol authored and JelleZijlstra committed May 17, 2018
1 parent 97d9f2e commit f7f00c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/2and3/socket.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down

0 comments on commit f7f00c5

Please sign in to comment.