MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/turtledemo/nim.py:207–212  ·  view source on GitHub ↗
(self, screen)

Source from the content-addressed store, hash-verified

205 RUNNING = 1
206 OVER = 2
207 def __init__(self, screen):
208 self.state = Nim.CREATED
209 self.screen = screen
210 self.model = NimModel(self)
211 self.view = NimView(self)
212 self.controller = NimController(self)
213
214
215def main():

Callers 1

__init__Method · 0.45

Calls 3

NimModelClass · 0.85
NimViewClass · 0.85
NimControllerClass · 0.85

Tested by

no test coverage detected