MCPcopy
hub / github.com/dabeaz-course/python-mastery / start

Function start

Solutions/8_4/cofollow.py:21–24  ·  view source on GitHub ↗
(*args,**kwargs)

Source from the content-addressed store, hash-verified

19def consumer(func):
20 @wraps(func)
21 def start(*args,**kwargs):
22 f = func(*args,**kwargs)
23 f.send(None)
24 return f
25 return start
26
27# Sample coroutine

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected