@@ -126,7 +126,7 @@ Running and stopping the loop
126126
127127 Run the event loop until :meth: `stop ` is called.
128128
129- If :meth: `stop ` is called before :meth: `run_forever() ` is called,
129+ If :meth: `stop ` is called before :meth: `run_forever ` is called,
130130 the loop will poll the I/O selector once with a timeout of zero,
131131 run all callbacks scheduled in response to I/O events (and
132132 those that were already scheduled), and then exit.
@@ -165,7 +165,7 @@ Running and stopping the loop
165165.. coroutinemethod :: loop.shutdown_asyncgens()
166166
167167 Schedule all currently open :term: `asynchronous generator ` objects to
168- close with an :meth: `~agen.aclose() ` call. After calling this method,
168+ close with an :meth: `~agen.aclose ` call. After calling this method,
169169 the event loop will issue a warning if a new asynchronous generator
170170 is iterated. This should be used to reliably finalize all scheduled
171171 asynchronous generators.
@@ -1402,7 +1402,7 @@ Allows customizing how exceptions are handled in the event loop.
14021402
14031403 This method should not be overloaded in subclassed
14041404 event loops. For custom exception handling, use
1405- the :meth: `set_exception_handler() ` method.
1405+ the :meth: `set_exception_handler ` method.
14061406
14071407Enabling debug mode
14081408^^^^^^^^^^^^^^^^^^^
@@ -1485,7 +1485,7 @@ async/await code consider using the high-level
14851485 * *stdin * can be any of these:
14861486
14871487 * a file-like object
1488- * an existing file descriptor (a positive integer), for example those created with :meth: `os.pipe() `
1488+ * an existing file descriptor (a positive integer), for example those created with :meth: `os.pipe `
14891489 * the :const: `subprocess.PIPE ` constant (default) which will create a new
14901490 pipe and connect it,
14911491 * the value ``None `` which will make the subprocess inherit the file
0 commit comments