Skip to content

Commit

Permalink
Fix versionadded tags in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed May 3, 2023
1 parent 9b8876f commit a892cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/aiotools/supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Supervisor:
(https://github.com/achimnol/cpython/pull/31) and :class:`PersistentTaskGroup`,
but it is modified *not* to store unhandled subtask exceptions.
.. versionadded:: 1.7
.. versionadded:: 2.0
"""

def __init__(self):
Expand Down
4 changes: 2 additions & 2 deletions src/aiotools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def gather_safe(
Additionally, it supports manually setting the context of each subtask.
.. versionadded:: 1.7
.. versionadded:: 2.0
"""
tasks = []
async with Supervisor() as supervisor:
Expand Down Expand Up @@ -114,7 +114,7 @@ async def race(
second item of the returned tuple. If all coroutines fail, it will raise an
exc:`ExceptionGroup` to indicate the explicit failure of the entire operation.
.. versionadded:: 1.7
.. versionadded:: 2.0
"""
async with aclosing(as_completed_safe(coros, context=context)) as ag:
errors: list[Exception] = []
Expand Down

0 comments on commit a892cc1

Please sign in to comment.