@@ -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.
@@ -1386,7 +1386,7 @@ Allows customizing how exceptions are handled in the event loop.
13861386
13871387 This method should not be overloaded in subclassed
13881388 event loops. For custom exception handling, use
1389- the :meth: `set_exception_handler() ` method.
1389+ the :meth: `set_exception_handler ` method.
13901390
13911391Enabling debug mode
13921392^^^^^^^^^^^^^^^^^^^
@@ -1469,7 +1469,7 @@ async/await code consider using the high-level
14691469 * *stdin * can be any of these:
14701470
14711471 * a file-like object
1472- * an existing file descriptor (a positive integer), for example those created with :meth: `os.pipe() `
1472+ * an existing file descriptor (a positive integer), for example those created with :meth: `os.pipe `
14731473 * the :const: `subprocess.PIPE ` constant (default) which will create a new
14741474 pipe and connect it,
14751475 * the value ``None `` which will make the subprocess inherit the file
0 commit comments