Skip to content
Unverified Commit 75f99bde authored by Joe Young's avatar Joe Young Committed by GitHub
Browse files

Remove redundant parentheses around awaited coroutines/tasks (#2991)



This is a tricky one as await is technically an expression and therefore
in certain situations requires brackets for operator precedence.
However, the vast majority of await usage is just await some_coroutine(...)
and similar in format to return statements. Therefore this PR removes
redundant parens around these await expressions.

Co-authored-by: default avatarJelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: default avatarRichard Si <63936253+ichard26@users.noreply.github.com>
parent 98fcccee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment