Skip to content

Commit 123f054

Browse files
committed
make function and message positional only to free up names for kwargs
1 parent 49d60ac commit 123f054

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

botcore/utils/cooldown.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def __init__(
4141
self,
4242
message: str | None,
4343
function: Callable[P, Awaitable[R]],
44+
/,
4445
*args: P.args,
4546
**kwargs: P.kwargs,
4647
):

0 commit comments

Comments
 (0)