Skip to content

Commit e36a1af

Browse files
belm0gvanrossum
andauthored
apply comment revision
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
1 parent 243db79 commit e36a1af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Lib/asyncio/taskgroups.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,8 @@ async def _aexit(self, et, exc):
180180
finally:
181181
exc = None
182182

183-
# If we wanted to raise an error, it would have been done explicitly
184-
# above. Otherwise, either there is no error or we want to suppress
185-
# the original error.
183+
# Suppress any remaining exception (exceptions deserving to be raised
184+
# were raised above).
186185
return True
187186

188187
def create_task(self, coro, *, name=None, context=None):

0 commit comments

Comments
 (0)