summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorQuentin Dawans <github@ovv.wtf>2017-10-30 13:43:02 (GMT)
committerYury Selivanov <yury@magic.io>2017-10-30 13:43:02 (GMT)
commitfe4ea9cf1ee04f5a60e4ed928d8624b95b031e18 (patch)
treea783b709a8856fdf34d540108e78803e6114c84b /Doc
parenta2314283ff87c65e1745a42c2f2b716b1a209128 (diff)
downloadcpython-fe4ea9cf1ee04f5a60e4ed928d8624b95b031e18.zip
cpython-fe4ea9cf1ee04f5a60e4ed928d8624b95b031e18.tar.gz
cpython-fe4ea9cf1ee04f5a60e4ed928d8624b95b031e18.tar.bz2
bpo-31245: Asyncio unix socket datagram (#3164)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-eventloop.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index ade3739..9bc7a40 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -341,9 +341,10 @@ Creating connections
.. coroutinemethod:: AbstractEventLoop.create_datagram_endpoint(protocol_factory, local_addr=None, remote_addr=None, \*, family=0, proto=0, flags=0, reuse_address=None, reuse_port=None, allow_broadcast=None, sock=None)
- Create datagram connection: socket family :py:data:`~socket.AF_INET` or
- :py:data:`~socket.AF_INET6` depending on *host* (or *family* if specified),
- socket type :py:data:`~socket.SOCK_DGRAM`. *protocol_factory* must be a
+ Create datagram connection: socket family :py:data:`~socket.AF_INET`,
+ :py:data:`~socket.AF_INET6` or :py:data:`~socket.AF_UNIX` depending on
+ *host* (or *family* if specified), socket type
+ :py:data:`~socket.SOCK_DGRAM`. *protocol_factory* must be a
callable returning a :ref:`protocol <asyncio-protocol>` instance.
This method is a :ref:`coroutine <coroutine>` which will try to