@@ -488,10 +488,10 @@ def set_task_factory(self, factory):
488488 If factory is None the default task factory will be set.
489489
490490 If factory is a callable, it should have a signature matching
491- '(loop, coro, **kwargs)', where 'loop' will be a reference to the active
492- event loop, 'coro' will be a coroutine object, and **kwargs will be
493- arbitrary keyword arguments that should be passed on to Task.
494- The callable must return a Task.
491+ '(loop, coro, **kwargs)', where 'loop' will be a reference to the
492+ active event loop, 'coro' will be a coroutine object, and **kwargs
493+ will be arbitrary keyword arguments that should be passed on to
494+ Task. The callable must return a Task.
495495 """
496496 if factory is not None and not callable (factory ):
497497 raise TypeError ('task factory must be a callable or None' )
@@ -727,8 +727,8 @@ def run_until_complete(self, future):
727727 def stop (self ):
728728 """Stop running the event loop.
729729
730- Every callback already scheduled will still run. This simply informs
731- run_forever to stop looping after a complete iteration.
730+ Every callback already scheduled will still run. This simply
731+ informs run_forever to stop looping after a complete iteration.
732732 """
733733 self ._stopping = True
734734
@@ -1076,12 +1076,12 @@ async def create_connection(
10761076
10771077 Create a streaming transport connection to a given internet host and
10781078 port: socket family AF_INET or socket.AF_INET6 depending on host (or
1079- family if specified), socket type SOCK_STREAM. protocol_factory must be
1080- a callable returning a protocol instance.
1079+ family if specified), socket type SOCK_STREAM. protocol_factory must
1080+ be a callable returning a protocol instance.
10811081
1082- This method is a coroutine which will try to establish the connection
1083- in the background. When successful, the coroutine returns a
1084- (transport, protocol) pair.
1082+ This method is a coroutine which will try to establish the
1083+ connection in the background. When successful, the coroutine
1084+ returns a (transport, protocol) pair.
10851085 """
10861086 if server_hostname is not None and not ssl :
10871087 raise ValueError ('server_hostname is only meaningful with ssl' )
@@ -1550,11 +1550,11 @@ async def create_server(
15501550 The host parameter can be a string, in that case the TCP server is
15511551 bound to host and port.
15521552
1553- The host parameter can also be a sequence of strings and in that case
1554- the TCP server is bound to all hosts of the sequence. If a host
1555- appears multiple times (possibly indirectly e.g. when hostnames
1556- resolve to the same IP address), the server is only bound once to that
1557- host.
1553+ The host parameter can also be a sequence of strings and in that
1554+ case the TCP server is bound to all hosts of the sequence. If
1555+ a host appears multiple times (possibly indirectly e.g. when
1556+ hostnames resolve to the same IP address), the server is only bound
1557+ once to that host.
15581558
15591559 Return a Server object which can be used to stop the service.
15601560
0 commit comments