Skip to content

Commit 15449c6

Browse files
committed
⚰️ remove unused reveal_type calls in private.py
1 parent d93aa3d commit 15449c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

discord/utils/private.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
Union,
2727
Coroutine,
2828
Awaitable,
29-
reveal_type,
3029
Generic,
3130
Sequence,
3231
Iterator,
@@ -405,7 +404,6 @@ async def async_all(gen: Iterable[Any]) -> bool:
405404
async def maybe_awaitable(f: Callable[P, T | Awaitable[T]], *args: P.args, **kwargs: P.kwargs) -> T:
406405
value = f(*args, **kwargs)
407406
if isawaitable(value):
408-
reveal_type(f)
409407
return await value
410408
return value
411409

0 commit comments

Comments
 (0)