MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / CodeFragment

Class CodeFragment

_pydev_bundle/pydev_console_utils.py:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149
150class CodeFragment:
151 def __init__(self, text, is_single_line=True):
152 self.text = text
153 self.is_single_line = is_single_line
154
155 def append(self, code_fragment):
156 self.text = self.text + "\n" + code_fragment.text
157 if not code_fragment.is_single_line:
158 self.is_single_line = False
159
160
161# =======================================================================================================================

Callers 4

console_execFunction · 0.90
test_console_asyncMethod · 0.90
test_console_requestsMethod · 0.90
do_exec_codeMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_console_asyncMethod · 0.72
test_console_requestsMethod · 0.72