mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48: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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue