◐ Shell
reader mode source ↗
Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
Open
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
7 changes: 5 additions & 2 deletions 16-coroutine/coroaverager3.py
Original file line number Diff line number Diff line change
@@ -63,8 +63,11 @@ def averager(): # <1>

# the delegating generator
def grouper(results, key): # <5>
while True: # <6>
results[key] = yield from averager() # <7>


# the client code, a.k.a. the caller
Expand Down
Toggle all file notes Toggle all file annotations