MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / __call__

Method __call__

07-1class-func/bingocall.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 raise LookupError('pick from empty BingoCage') # <4>
31
32 def __call__(self): # <5>
33 return self.pick()
34
35# end::BINGO[]

Callers

nothing calls this directly

Calls 1

pickMethod · 0.95

Tested by

no test coverage detected