mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
gh-74166: make all_errors keyword-only (GH-91704)
This commit is contained in:
parent
a059395921
commit
3c43806513
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue