Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Feb 24, 2024
1 parent 551a1da commit dffba5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/async_wrapper/task_group/task_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def wrap(
Args:
func: The target function to be wrapped.
semaphore: An :obj:`anyio.Semaphore`. Defaults to None.
limiter: An :obj:`anyio.CapacityLimiter`. Defaults to None.
lock: An :obj:`anyio.Lock`. Defaults to None.
semaphore: An :obj:`anyio.abc.Semaphore`. Defaults to None.
limiter: An :obj:`anyio.abc.CapacityLimiter`. Defaults to None.
lock: An :obj:`anyio.abc.Lock`. Defaults to None.
Returns:
The wrapped function.
Expand Down Expand Up @@ -191,11 +191,11 @@ def copy(
Create a copy of this object.
Args:
semaphore: An :obj:`anyio.Semaphore`.
semaphore: An :obj:`anyio.abc.Semaphore`.
If provided, it will overwrite the existing semaphore. Defaults to None.
limiter: An :obj:`anyio.CapacityLimiter`.
limiter: An :obj:`anyio.abc.CapacityLimiter`.
If provided, it will overwrite the existing limiter. Defaults to None.
lock: An :obj:`anyio.Lock`.
lock: An :obj:`anyio.abc.Lock`.
If provided, it will overwrite the existing lock. Defaults to None.
Returns:
Expand Down

0 comments on commit dffba5f

Please sign in to comment.