mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
[lint] Remove redundant paranthesis
Remove redundant parenthisis around await expressions. Left over from
f25091ef.
This commit is contained in:
1 parent
633192b3cd
commit
51d626eabe
8 files changed
+15
-15
No files matched your search
+1
-1
@@ -271,7 +271,7 @@ def _parse_ratelimit_header(request):
|
||||
async def maybe_coroutine(f, *args, **kwargs):
|
||||
value = f(*args, **kwargs)
|
||||
if _isawaitable(value):
|
||||
return (await value)
|
||||
return await value
|
||||
else:
|
||||
return value
|
||||
|
||||
|
||||
Reference in new issue
Block a user