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

Method __init__

Lib/idlelib/searchbase.py:191–200  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

189 "Create auto-opening dialog with no text connection."
190
191 def __init__(self, parent):
192 import re
193 from idlelib import searchengine
194
195 self.root = parent
196 self.engine = searchengine.get(parent)
197 self.create_widgets()
198 print(parent.geometry())
199 width,height, x,y = list(map(int, re.split('[x+]', parent.geometry())))
200 self.top.geometry("+%d+%d" % (x + 40, y + 175))
201
202 def default_command(self, dummy): pass
203

Callers

nothing calls this directly

Calls 4

listClass · 0.85
getMethod · 0.45
create_widgetsMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected