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

Method sell

Solutions/4_3/validate.py:78–79  ·  view source on GitHub ↗
(self, nshares)

Source from the content-addressed store, hash-verified

76 return self.shares * self.price
77
78 def sell(self, nshares):
79 self.shares -= nshares
80
81
82

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected