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

Class DummyEditwin

Lib/idlelib/idle_test/test_hyperparser.py:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7from idlelib.editor import EditorWindow
8
9class DummyEditwin:
10 def __init__(self, text):
11 self.text = text
12 self.indentwidth = 8
13 self.tabwidth = 8
14 self.prompt_last_line = '>>>'
15 self.num_context_lines = 50, 500, 1000
16
17 _build_char_in_string_func = EditorWindow._build_char_in_string_func
18 is_char_in_string = EditorWindow.is_char_in_string
19
20
21class HyperParserTest(unittest.TestCase):

Callers 1

setUpClassMethod · 0.70

Calls

no outgoing calls

Tested by 1

setUpClassMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…