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

Method sell

Solutions/7_2/validate.py:164–165  ·  view source on GitHub ↗
(self, nshares:PositiveInteger)

Source from the content-addressed store, hash-verified

162
163 @validated
164 def sell(self, nshares:PositiveInteger):
165 self.shares -= nshares
166
167
168

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected