Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dabeaz-course/python-mastery
/ negchange
Function
negchange
Solutions/8_6/coticker.py:38–42 ·
view source on GitHub ↗
(target)
Source
from the content-addressed store, hash-verified
36
37
@consumer
38
def
negchange(target):
39
while
True:
40
record =
yield
from
receive(Ticker)
41
if
record.change < 0:
42
target.send(record)
43
44
@consumer
45
def
ticker(fmt, fields):
Callers
1
coticker.py
File · 0.70
Calls
2
receive
Function · 0.90
send
Method · 0.45
Tested by
no test coverage detected