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

Method sell

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected