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

Class DummyEditwin

Lib/idlelib/idle_test/test_format.py:380–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378
379
380class DummyEditwin:
381 def __init__(self, root, text):
382 self.root = root
383 self.text = text
384 self.indentwidth = 4
385 self.tabwidth = 4
386 self.usetabs = False
387 self.context_use_ps1 = True
388
389 _make_blanks = EditorWindow._make_blanks
390 get_selection_indices = EditorWindow.get_selection_indices
391
392
393class FormatRegionTest(unittest.TestCase):

Callers 3

setUpClassMethod · 0.70
test_toggle_tabsMethod · 0.70

Calls

no outgoing calls

Tested by 3

setUpClassMethod · 0.56
test_toggle_tabsMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…