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

Method sell

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected