@@ -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.
@@ -1386,7 +1386,7 @@ Allows customizing how exceptions are handled in the event loop.
1386
1386
1387
1387
This method should not be overloaded in subclassed
1388
1388
event loops. For custom exception handling, use
1389
- the :meth: `set_exception_handler() ` method.
1389
+ the :meth: `set_exception_handler ` method.
1390
1390
1391
1391
Enabling debug mode
1392
1392
^^^^^^^^^^^^^^^^^^^
@@ -1469,7 +1469,7 @@ async/await code consider using the high-level
1469
1469
* *stdin * can be any of these:
1470
1470
1471
1471
* 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 `
1473
1473
* the :const: `subprocess.PIPE ` constant (default) which will create a new
1474
1474
pipe and connect it,
1475
1475
* the value ``None `` which will make the subprocess inherit the file
0 commit comments