File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -819,14 +819,10 @@ def loop(
819
819
loop: :class:`asyncio.AbstractEventLoop`
820
820
The loop to use to register the task, if not given
821
821
defaults to :func:`asyncio.get_event_loop`.
822
-
823
822
overlap: Union[:class:`bool`, :class:`int`]
824
- Controls whether to allow overlapping executions of the task loop.
825
-
826
- - If set to :class:`False` (default), the next iteration waits until the previous finishes.
827
- - If set to :class:`True`, overlapping executions are allowed with no limit.
828
- - If set to an :class:`int`, allows up to that many overlapping executions at once.
829
-
823
+ Controls whether overlapping executions of the task loop are allowed.
824
+ Set to False (default) to run iterations one at a time, True for unlimited overlap, or an int to cap the number of concurrent runs.
825
+
830
826
.. versionadded:: 2.7
831
827
832
828
Raises
You can’t perform that action at this time.
0 commit comments