MCPcopy Create free account
hub / github.com/geekcomputers/Python / __bool__

Method __bool__

BlackJack_game/blackjack_simulate.py:116–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 self.is_double = False
115
116 def __bool__(self):
117 return self.amount > 0
118
119 @staticmethod
120 def get_tips(content):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected