[Python-checkins] cpython (merge 3.6 -> default): Issue #26980: Improve docs for create_unix_connection(). By Mariatta. (3.6->3.7)

guido.van.rossum python-checkins at python.org
Thu Nov 3 17:18:47 EDT 2016


https://hg.python.org/cpython/rev/d6f4c1b864e6
changeset:   104892:d6f4c1b864e6
parent:      104889:36af3566b67a
parent:      104891:ddbba4739ef4
user:        Guido van Rossum <guido at python.org>
date:        Thu Nov 03 14:18:32 2016 -0700
summary:
  Issue #26980: Improve docs for create_unix_connection(). By Mariatta. (3.6->3.7)

files:
  Doc/library/asyncio-eventloop.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -381,6 +381,10 @@
    establish the connection in the background.  When successful, the
    coroutine returns a ``(transport, protocol)`` pair.
 
+   *path* is the name of a UNIX domain socket, and is required unless a *sock*
+   parameter is specified.  Abstract UNIX sockets, :class:`str`, and
+   :class:`bytes` paths are supported.
+
    See the :meth:`AbstractEventLoop.create_connection` method for parameters.
 
    Availability: UNIX.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list