@@ -321,7 +321,7 @@ Creating Futures and Tasks
321321
322322 .. versionadded :: 3.5.2
323323
324- .. method :: loop.create_task(coro, \ *, name=None)
324+ .. method :: loop.create_task(coro, *, name=None)
325325
326326 Schedule the execution of a :ref: `coroutine `.
327327 Return a :class: `Task ` object.
@@ -356,7 +356,7 @@ Opening network connections
356356^^^^^^^^^^^^^^^^^^^^^^^^^^^
357357
358358.. coroutinemethod :: loop.create_connection(protocol_factory, \
359- host=None, port=None, \ * , ssl=None, \
359+ host=None, port=None, *, ssl=None, \
360360 family=0, proto=0, flags=0, sock=None, \
361361 local_addr=None, server_hostname=None, \
362362 ssl_handshake_timeout=None, \
@@ -482,7 +482,7 @@ Opening network connections
482482 that can be used directly in async/await code.
483483
484484.. coroutinemethod :: loop.create_datagram_endpoint(protocol_factory, \
485- local_addr=None, remote_addr=None, \ * , \
485+ local_addr=None, remote_addr=None, *, \
486486 family=0, proto=0, flags=0, \
487487 reuse_address=None, reuse_port=None, \
488488 allow_broadcast=None, sock=None)
@@ -559,7 +559,7 @@ Opening network connections
559559 Added support for Windows.
560560
561561.. coroutinemethod :: loop.create_unix_connection(protocol_factory, \
562- path=None, \ * , ssl=None, sock=None, \
562+ path=None, *, ssl=None, sock=None, \
563563 server_hostname=None, ssl_handshake_timeout=None)
564564
565565 Create a Unix connection.
@@ -592,7 +592,7 @@ Creating network servers
592592^^^^^^^^^^^^^^^^^^^^^^^^
593593
594594.. coroutinemethod :: loop.create_server(protocol_factory, \
595- host=None, port=None, \ * , \
595+ host=None, port=None, *, \
596596 family=socket.AF_UNSPEC, \
597597 flags=socket.AI_PASSIVE, \
598598 sock=None, backlog=100, ssl=None, \
@@ -683,7 +683,7 @@ Creating network servers
683683
684684
685685.. coroutinemethod :: loop.create_unix_server(protocol_factory, path=None, \
686- \ * , sock=None, backlog=100, ssl=None, \
686+ *, sock=None, backlog=100, ssl=None, \
687687 ssl_handshake_timeout=None, start_serving=True)
688688
689689 Similar to :meth: `loop.create_server ` but works with the
@@ -708,7 +708,7 @@ Creating network servers
708708 The *path * parameter can now be a :class: `~pathlib.Path ` object.
709709
710710.. coroutinemethod :: loop.connect_accepted_socket(protocol_factory, \
711- sock, \ * , ssl=None, ssl_handshake_timeout=None)
711+ sock, *, ssl=None, ssl_handshake_timeout=None)
712712
713713 Wrap an already accepted connection into a transport/protocol pair.
714714
@@ -773,7 +773,7 @@ TLS Upgrade
773773^^^^^^^^^^^
774774
775775.. coroutinemethod :: loop.start_tls(transport, protocol, \
776- sslcontext, \ * , server_side=False, \
776+ sslcontext, *, server_side=False, \
777777 server_hostname=None, ssl_handshake_timeout=None)
778778
779779 Upgrade an existing transport-based connection to TLS.
@@ -806,7 +806,7 @@ TLS Upgrade
806806Watching file descriptors
807807^^^^^^^^^^^^^^^^^^^^^^^^^
808808
809- .. method :: loop.add_reader(fd, callback, \ *args)
809+ .. method :: loop.add_reader(fd, callback, *args)
810810
811811 Start monitoring the *fd * file descriptor for read availability and
812812 invoke *callback * with the specified arguments once *fd * is available for
@@ -816,7 +816,7 @@ Watching file descriptors
816816
817817 Stop monitoring the *fd * file descriptor for read availability.
818818
819- .. method :: loop.add_writer(fd, callback, \ *args)
819+ .. method :: loop.add_writer(fd, callback, *args)
820820
821821 Start monitoring the *fd * file descriptor for write availability and
822822 invoke *callback * with the specified arguments once *fd * is available for
@@ -930,7 +930,7 @@ convenient.
930930 :meth: `loop.create_server ` and :func: `start_server `.
931931
932932.. coroutinemethod :: loop.sock_sendfile(sock, file, offset=0, count=None, \
933- \ * , fallback=True)
933+ *, fallback=True)
934934
935935 Send a file using high-performance :mod: `os.sendfile ` if possible.
936936 Return the total number of bytes sent.
@@ -964,7 +964,7 @@ convenient.
964964DNS
965965^^^
966966
967- .. coroutinemethod :: loop.getaddrinfo(host, port, \ *, family=0, \
967+ .. coroutinemethod :: loop.getaddrinfo(host, port, *, family=0, \
968968 type=0, proto=0, flags=0)
969969
970970 Asynchronous version of :meth: `socket.getaddrinfo `.
@@ -1029,7 +1029,7 @@ Working with pipes
10291029Unix signals
10301030^^^^^^^^^^^^
10311031
1032- .. method :: loop.add_signal_handler(signum, callback, \ *args)
1032+ .. method :: loop.add_signal_handler(signum, callback, *args)
10331033
10341034 Set *callback * as the handler for the *signum * signal.
10351035
@@ -1064,7 +1064,7 @@ Unix signals
10641064Executing code in thread or process pools
10651065^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10661066
1067- .. awaitablemethod :: loop.run_in_executor(executor, func, \ *args)
1067+ .. awaitablemethod :: loop.run_in_executor(executor, func, *args)
10681068
10691069 Arrange for *func * to be called in the specified executor.
10701070
@@ -1234,9 +1234,9 @@ async/await code consider using the high-level
12341234 subprocesses. See :ref: `Subprocess Support on Windows
12351235 <asyncio-windows-subprocess>` for details.
12361236
1237- .. coroutinemethod :: loop.subprocess_exec(protocol_factory, \ *args, \
1237+ .. coroutinemethod :: loop.subprocess_exec(protocol_factory, *args, \
12381238 stdin=subprocess.PIPE, stdout=subprocess.PIPE, \
1239- stderr=subprocess.PIPE, \*\ * kwargs)
1239+ stderr=subprocess.PIPE, * *kwargs)
12401240
12411241 Create a subprocess from one or more string arguments specified by
12421242 *args *.
@@ -1316,9 +1316,9 @@ async/await code consider using the high-level
13161316 conforms to the :class: `asyncio.SubprocessTransport ` base class and
13171317 *protocol * is an object instantiated by the *protocol_factory *.
13181318
1319- .. coroutinemethod :: loop.subprocess_shell(protocol_factory, cmd, \ *, \
1319+ .. coroutinemethod :: loop.subprocess_shell(protocol_factory, cmd, *, \
13201320 stdin=subprocess.PIPE, stdout=subprocess.PIPE, \
1321- stderr=subprocess.PIPE, \*\ * kwargs)
1321+ stderr=subprocess.PIPE, * *kwargs)
13221322
13231323 Create a subprocess from *cmd *, which can be a :class: `str ` or a
13241324 :class: `bytes ` string encoded to the
0 commit comments