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

Method __init__

Lib/idlelib/help.py:241–248  ·  view source on GitHub ↗
(self, parent, filename, title)

Source from the content-addressed store, hash-verified

239class HelpWindow(Toplevel):
240 "Display frame with rendered html."
241 def __init__(self, parent, filename, title):
242 Toplevel.__init__(self, parent)
243 self.wm_title(title)
244 self.protocol("WM_DELETE_WINDOW", self.destroy)
245 self.frame = HelpFrame(self, filename)
246 self.frame.grid(column=0, row=0, sticky='nsew')
247 self.grid_columnconfigure(0, weight=1)
248 self.grid_rowconfigure(0, weight=1)
249
250
251def copy_strip(): # pragma: no cover

Callers

nothing calls this directly

Calls 7

wm_titleMethod · 0.80
protocolMethod · 0.80
grid_columnconfigureMethod · 0.80
grid_rowconfigureMethod · 0.80
HelpFrameClass · 0.70
__init__Method · 0.45
gridMethod · 0.45

Tested by

no test coverage detected