diff options
| author | Hornwitser <[email protected]> | 2018-08-09 14:15:44 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-24 22:17:58 -0500 |
| commit | 51d626eabef3b8310478c6a88c88b2a3cc290bde (patch) | |
| tree | 40a38eba637723fa59d38bb9c7c1d8782abf76f4 /discord/iterators.py | |
| parent | [lint] Replace equality comparisons to singletons (diff) | |
| download | discord.py-51d626eabef3b8310478c6a88c88b2a3cc290bde.tar.xz discord.py-51d626eabef3b8310478c6a88c88b2a3cc290bde.zip | |
[lint] Remove redundant paranthesis
Remove redundant parenthisis around await expressions. Left over from
f25091ef.
Diffstat (limited to 'discord/iterators.py')
| -rw-r--r-- | discord/iterators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/iterators.py b/discord/iterators.py index 629d180a..5ca5aabf 100644 --- a/discord/iterators.py +++ b/discord/iterators.py @@ -98,7 +98,7 @@ class _MappedAsyncIterator(_AsyncIterator): async def next(self): # this raises NoMoreItems and will propagate appropriately item = await self.iterator.next() - return (await maybe_coroutine(self.func, item)) + return await maybe_coroutine(self.func, item) class _FilteredAsyncIterator(_AsyncIterator): def __init__(self, iterator, predicate): |