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