diff options
author | Yury Selivanov <yury@magic.io> | 2017-11-20 22:26:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 22:26:28 (GMT) |
commit | 423fd362f8e4d6c867a5afc8ac7cbeeb66cac19c (patch) | |
tree | 204591d156333450cc931abfe0e1056e66f2397a /Lib/asyncio/events.py | |
parent | 895862aa01793a26e74512befb0c66a1da2587d6 (diff) | |
download | cpython-423fd362f8e4d6c867a5afc8ac7cbeeb66cac19c.zip cpython-423fd362f8e4d6c867a5afc8ac7cbeeb66cac19c.tar.gz cpython-423fd362f8e4d6c867a5afc8ac7cbeeb66cac19c.tar.bz2 |
bpo-32066: Support pathlib.Path in create_unix_connection; sock arg should be optional (#4447)
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r-- | Lib/asyncio/events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index f2f2e28..e59d3d2 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -362,12 +362,12 @@ class AbstractEventLoop: """ raise NotImplementedError - def create_unix_connection(self, protocol_factory, path, *, + def create_unix_connection(self, protocol_factory, path=None, *, ssl=None, sock=None, server_hostname=None): raise NotImplementedError - def create_unix_server(self, protocol_factory, path, *, + def create_unix_server(self, protocol_factory, path=None, *, sock=None, backlog=100, ssl=None): """A coroutine which creates a UNIX Domain Socket server. |