summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-11-03 21:17:25 (GMT)
committerGuido van Rossum <guido@python.org>2016-11-03 21:17:25 (GMT)
commit9e80eeb22dde9740dada6d750e4dcb1712d070ab (patch)
treea419de2726000b3619ca71bc748ef924813b33a4 /Doc/library
parenta7c972e03b03d3e5c5d1cea78ff73002aa7786b4 (diff)
downloadcpython-9e80eeb22dde9740dada6d750e4dcb1712d070ab.zip
cpython-9e80eeb22dde9740dada6d750e4dcb1712d070ab.tar.gz
cpython-9e80eeb22dde9740dada6d750e4dcb1712d070ab.tar.bz2
Issue #26980: Improve docs for create_unix_connection(). By Mariatta.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-eventloop.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index ba52d9b..cf2f3d6 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -380,6 +380,10 @@ Creating connections
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.