MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / sell

Method sell

Solutions/8_3/validate.py:168–169  ·  view source on GitHub ↗
(self, nshares:PositiveInteger)

Source from the content-addressed store, hash-verified

166
167 @validated
168 def sell(self, nshares:PositiveInteger):
169 self.shares -= nshares
170
171
172

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected