@@ -126,7 +126,7 @@ Running and stopping the loop
126
126
127
127
Run the event loop until :meth: `stop ` is called.
128
128
129
- If :meth: `stop ` is called before :meth: `run_forever() ` is called,
129
+ If :meth: `stop ` is called before :meth: `run_forever ` is called,
130
130
the loop will poll the I/O selector once with a timeout of zero,
131
131
run all callbacks scheduled in response to I/O events (and
132
132
those that were already scheduled), and then exit.
@@ -165,7 +165,7 @@ Running and stopping the loop
165
165
.. coroutinemethod :: loop.shutdown_asyncgens()
166
166
167
167
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,
169
169
the event loop will issue a warning if a new asynchronous generator
170
170
is iterated. This should be used to reliably finalize all scheduled
171
171
asynchronous generators.
@@ -1402,7 +1402,7 @@ Allows customizing how exceptions are handled in the event loop.
1402
1402
1403
1403
This method should not be overloaded in subclassed
1404
1404
event loops. For custom exception handling, use
1405
- the :meth: `set_exception_handler() ` method.
1405
+ the :meth: `set_exception_handler ` method.
1406
1406
1407
1407
Enabling debug mode
1408
1408
^^^^^^^^^^^^^^^^^^^
@@ -1485,7 +1485,7 @@ async/await code consider using the high-level
1485
1485
* *stdin * can be any of these:
1486
1486
1487
1487
* a
D73A
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 `
1489
1489
* the :const: `subprocess.PIPE ` constant (default) which will create a new
1490
1490
pipe and connect it,
1491
1491
* the value ``None `` which will make the subprocess inherit the file
0 commit comments