MCPcopy Create free account
hub / github.com/dabeaz-course/practical-python / append

Method append

Solutions/7_11/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 7

from_csvMethod · 0.95
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