@@ -483,10 +483,10 @@ def set_task_factory(self, factory):
483483 If factory is None the default task factory will be set.
484484
485485 If factory is a callable, it should have a signature matching
486- '(loop, coro, **kwargs)', where 'loop' will be a reference to the active
487- event loop, 'coro' will be a coroutine object, and **kwargs will be
488- arbitrary keyword arguments that should be passed on to Task.
489- The callable must return a Task.
486+ '(loop, coro, **kwargs)', where 'loop' will be a reference to the
487+ active event loop, 'coro' will be a coroutine object, and **kwargs
488+ will be arbitrary keyword arguments that should be passed on to
489+ Task. The callable must return a Task.
490490 """
491491 if factory is not None and not callable (factory ):
492492 raise TypeError ('task factory must be a callable or None' )
@@ -721,8 +721,8 @@ def run_until_complete(self, future):
721721 def stop (self ):
722722 """Stop running the event loop.
723723
724- Every callback already scheduled will still run. This simply informs
725- run_forever to stop looping after a complete iteration.
724+ Every callback already scheduled will still run. This simply
725+ informs run_forever to stop looping after a complete iteration.
726726 """
727727 self ._stopping = True
728728
@@ -1070,12 +1070,12 @@ async def create_connection(
10701070
10711071 Create a streaming transport connection to a given internet host and
10721072 port: socket family AF_INET or socket.AF_INET6 depending on host (or
1073- family if specified), socket type SOCK_STREAM. protocol_factory must be
1074- a callable returning a protocol instance.
1073+ family if specified), socket type SOCK_STREAM. protocol_factory must
1074+ be a callable returning a protocol instance.
10751075
1076- This method is a coroutine which will try to establish the connection
1077- in the background. When successful, the coroutine returns a
1078- (transport, protocol) pair.
1076+ This method is a coroutine which will try to establish the
1077+ connection in the background. When successful, the coroutine
1078+ returns a (transport, protocol) pair.
10791079 """
10801080 if server_hostname is not None and not ssl :
10811081 raise ValueError ('server_hostname is only meaningful with ssl' )
@@ -1542,11 +1542,11 @@ async def create_server(
15421542 The host parameter can be a string, in that case the TCP server is
15431543 bound to host and port.
15441544
1545- The host parameter can also be a sequence of strings and in that case
1546- the TCP server is bound to all hosts of the sequence. If a host
1547- appears multiple times (possibly indirectly e.g. when hostnames
1548- resolve to the same IP address), the server is only bound once to that
1549- host.
1545+ The host parameter can also be a sequence of strings and in that
1546+ case the TCP server is bound to all hosts of the sequence. If
1547+ a host appears multiple times (possibly indirectly e.g. when
1548+ hostnames resolve to the same IP address), the server is only bound
1549+ once to that host.
15501550
15511551 Return a Server object which can be used to stop the service.
15521552
0 commit comments