diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-04-19 17:16:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 17:16:20 (GMT) |
commit | 3c4380651301f255ef8149b638a1fae205ede575 (patch) | |
tree | 3955ab934417d3c13693868464fcb01ede5c71d7 /Doc/library/socket.rst | |
parent | a059395921e4402c13a860aaa8fc44fea2023aa3 (diff) | |
download | cpython-3c4380651301f255ef8149b638a1fae205ede575.zip cpython-3c4380651301f255ef8149b638a1fae205ede575.tar.gz cpython-3c4380651301f255ef8149b638a1fae205ede575.tar.bz2 |
gh-74166: make all_errors keyword-only (GH-91704)
Diffstat (limited to 'Doc/library/socket.rst')
-rwxr-xr-x | Doc/library/socket.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index d7a4401..cff5a32 100755 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -660,7 +660,7 @@ The following functions all create :ref:`socket objects <socket-objects>`. Windows support added. -.. function:: create_connection(address[, timeout[, source_address[, all_errors]]]) +.. function:: create_connection(address, timeout=GLOBAL_DEFAULT, source_address=None, *, all_errors=False) Connect to a TCP service listening on the internet *address* (a 2-tuple ``(host, port)``), and return the socket object. This is a higher-level |