Type-Hint some files that were not type-hinted #101

Open
Sengolda wants to merge 16 commits from unknown repository into 2.0
Showing only changes of commit e721b0f84e - Show all commits

View File

@@ -508,7 +508,7 @@ def _parse_ratelimit_header(request: Any, *, use_clock: bool = False) -> float:
async def maybe_coroutine(f: Callable[..., Any], *args: Any, **kwargs: Any) -> Callable[..., Any]:
value = f(*args, **kwargs)
value: Any = f(*args, **kwargs)
if _isawaitable(value):
return await value
else: