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

Method sell

Solutions/7_1/validate.py:126–127  ·  view source on GitHub ↗
(self, nshares:PositiveInteger)

Source from the content-addressed store, hash-verified

124
125 @validated
126 def sell(self, nshares:PositiveInteger):
127 self.shares -= nshares
128
129
130

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected