@@ -309,7 +309,7 @@ Creating Futures and Tasks
309309
310310 .. versionadded :: 3.5.2
311311
312- .. method :: loop.create_task(coro, \ *, name=None)
312+ .. method :: loop.create_task(coro, *, name=None)
313313
314314 Schedule the execution of a :ref: `coroutine `.
315315 Return a :class: `Task ` object.
@@ -344,7 +344,7 @@ Opening network connections
344344^^^^^^^^^^^^^^^^^^^^^^^^^^^
345345
346346.. coroutinemethod :: loop.create_connection(protocol_factory, \
347- host=None, port=None, \ * , ssl=None, \
347+ host=None, port=None, *, ssl=None, \
348348 family=0, proto=0, flags=0, sock=None, \
349349 local_addr=None, server_hostname=None, \
350350 ssl_handshake_timeout=None, \
@@ -470,7 +470,7 @@ Opening network connections
470470 that can be used directly in async/await code.
471471
472472.. coroutinemethod :: loop.create_datagram_endpoint(protocol_factory, \
473- local_addr=None, remote_addr=None, \ * , \
473+ local_addr=None, remote_addr=None, *, \
474474 family=0, proto=0, flags=0, \
475475 reuse_address=None, reuse_port=None, \
476476 allow_broadcast=None, sock=None)
@@ -547,7 +547,7 @@ Opening network connections
547547 Added support for Windows.
548548
549549.. coroutinemethod :: loop.create_unix_connection(protocol_factory, \
550- path=None, \ * , ssl=None, sock=None, \
550+ path=None, *, ssl=None, sock=None, \
551551 server_hostname=None, ssl_handshake_timeout=None)
552552
553553 Create a Unix connection.
@@ -580,7 +580,7 @@ Creating network servers
580580^^^^^^^^^^^^^^^^^^^^^^^^
581581
582582.. coroutinemethod :: loop.create_server(protocol_factory, \
583- host=None, port=None, \ * , \
583+ host=None, port=None, *, \
584584 family=socket.AF_UNSPEC, \
585585 flags=socket.AI_PASSIVE, \
586586 sock=None, backlog=100, ssl=None, \
@@ -671,7 +671,7 @@ Creating network servers
671671
672672
673673.. coroutinemethod :: loop.create_unix_server(protocol_factory, path=None, \
674- \ * , sock=None, backlog=100, ssl=None, \
674+ *, sock=None, backlog=100, ssl=None, \
675675 ssl_handshake_timeout=None, start_serving=True)
676676
677677 Similar to :meth: `loop.create_server ` but works with the
@@ -696,7 +696,7 @@ Creating network servers
696696 The *path * parameter can now be a :class: `~pathlib.Path ` object.
697697
698698.. coroutinemethod :: loop.connect_accepted_socket(protocol_factory, \
699- sock, \ * , ssl=None, ssl_handshake_timeout=None)
699+ sock, *, ssl=None, ssl_handshake_timeout=None)
700700
701701 Wrap an already accepted connection into a transport/protocol pair.
702702
@@ -761,7 +761,7 @@ TLS Upgrade
761761^^^^^^^^^^^
762762
763763.. coroutinemethod :: loop.start_tls(transport, protocol, \
764- sslcontext, \ * , server_side=False, \
764+ sslcontext, *, server_side=False, \
765765 server_hostname=None, ssl_handshake_timeout=None)
766766
767767 Upgrade an existing transport-based connection to TLS.
@@ -794,7 +794,7 @@ TLS Upgrade
794794Watching file descriptors
795795^^^^^^^^^^^^^^^^^^^^^^^^^
796796
797- .. method :: loop.add_reader(fd, callback, \ *args)
797+ .. method :: loop.add_reader(fd, callback, *args)
798798
799799 Start monitoring the *fd * file descriptor for read availability and
800800 invoke *callback * with the specified arguments once *fd * is available for
@@ -804,7 +804,7 @@ Watching file descriptors
804804
805805 Stop monitoring the *fd * file descriptor for read availability.
806806
807- .. method :: loop.add_writer(fd, callback, \ *args)
807+ .. method :: loop.add_writer(fd, callback, *args)
808808
809809 Start monitoring the *fd * file descriptor for write availability and
810810 invoke *callback * with the specified arguments once *fd * is available for
@@ -918,7 +918,7 @@ convenient.
918918 :meth: `loop.create_server ` and :func: `start_server `.
919919
920920.. coroutinemethod :: loop.sock_sendfile(sock, file, offset=0, count=None, \
921- \ * , fallback=True)
921+ *, fallback=True)
922922
923923 Send a file using high-performance :mod: `os.sendfile ` if possible.
924924 Return the total number of bytes sent.
@@ -952,7 +952,7 @@ convenient.
952952DNS
953953^^^
954954
955- .. coroutinemethod :: loop.getaddrinfo(host, port, \ *, family=0, \
955+ .. coroutinemethod :: loop.getaddrinfo(host, port, *, family=0, \
956956 type=0, proto=0, flags=0)
957957
958958 Asynchronous version of :meth: `socket.getaddrinfo `.
@@ -1017,7 +1017,7 @@ Working with pipes
10171017Unix signals
10181018^^^^^^^^^^^^
10191019
1020- .. method :: loop.add_signal_handler(signum, callback, \ *args)
1020+ .. method :: loop.add_signal_handler(signum, callback, *args)
10211021
10221022 Set *callback * as the handler for the *signum * signal.
10231023
@@ -1052,7 +1052,7 @@ Unix signals
10521052Executing code in thread or process pools
10531053^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10541054
1055- .. awaitablemethod :: loop.run_in_executor(executor, func, \ *args)
1055+ .. awaitablemethod :: loop.run_in_executor(executor, func, *args)
10561056
10571057 Arrange for *func * to be called in the specified executor.
10581058
@@ -1222,9 +1222,9 @@ async/await code consider using the high-level
12221222 subprocesses. See :ref: `Subprocess Support on Windows
12231223 <asyncio-windows-subprocess>` for details.
12241224
1225- .. coroutinemethod :: loop.subprocess_exec(protocol_factory, \ *args, \
1225+ .. coroutinemethod :: loop.subprocess_exec(protocol_factory, *args, \
12261226 stdin=subprocess.PIPE, stdout=subprocess.PIPE, \
1227- stderr=subprocess.PIPE, \*\ * kwargs)
1227+ stderr=subprocess.PIPE, * *kwargs)
12281228
12291229 Create a subprocess from one or more string arguments specified by
12301230 *args *.
@@ -1304,9 +1304,9 @@ async/await code consider using the high-level
13041304 conforms to the :class: `asyncio.SubprocessTransport ` base class and
13051305 *protocol * is an object instantiated by the *protocol_factory *.
13061306
1307- .. coroutinemethod :: loop.subprocess_shell(protocol_factory, cmd, \ *, \
1307+ .. coroutinemethod :: loop.subprocess_shell(protocol_factory, cmd, *, \
13081308 stdin=subprocess.PIPE, stdout=subprocess.PIPE, \
1309- stderr=subprocess.PIPE, \*\ * kwargs)
1309+ stderr=subprocess.PIPE, * *kwargs)
13101310
13111311 Create a subprocess from *cmd *, which can be a :class: `str ` or a
13121312 :class: `bytes ` string encoded to the
0 commit comments