MCPcopy Index your code
hub / github.com/dabeaz-course/practical-python / append

Method append

Solutions/8_1/portfolio.py:23–24  ·  view source on GitHub ↗
(self, holding)

Source from the content-addressed store, hash-verified

21 return self
22
23 def append(self, holding):
24 self._holdings.append(holding)
25
26 def __iter__(self):
27 return self._holdings.__iter__()

Callers 15

from_csvMethod · 0.95
read_historyFunction · 0.45
add_dataMethod · 0.45
registerMethod · 0.45
read_portfolioFunction · 0.45
make_report_dataFunction · 0.45
make_report_dataFunction · 0.45
parse_csvFunction · 0.45
make_report_dataFunction · 0.45
parse_csvFunction · 0.45
make_reportFunction · 0.45
parse_csvFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected