MCPcopy Index your code
hub / github.com/csev/py4e / __checkOpen

Method __checkOpen

code/graphics/graphics.py:268–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

266 if autoflush: _root.update()
267
268 def __checkOpen(self):
269 if self.closed:
270 raise GraphicsError, "window is closed"
271
272 def setBackground(self, color):
273 """Set background color of the window"""

Callers 4

setBackgroundMethod · 0.95
plotMethod · 0.95
plotPixelMethod · 0.95
flushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected