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 /Lib/socket.py | |
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 'Lib/socket.py')
-rwxr-xr-x | Lib/socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py index 28d9c89..e08fb62 100755 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -806,7 +806,7 @@ def getfqdn(name=''): _GLOBAL_DEFAULT_TIMEOUT = object() def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, - source_address=None, all_errors=False): + source_address=None, *, all_errors=False): """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, |