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

Method symbol_for_fragment

pydevconsole.py:43–51  ·  view source on GitHub ↗
(code_fragment)

Source from the content-addressed store, hash-verified

41 self.more = None
42
43 def symbol_for_fragment(code_fragment):
44 if code_fragment.is_single_line:
45 symbol = "single"
46 else:
47 if IS_JYTHON:
48 symbol = "single" # Jython doesn't support exec
49 else:
50 symbol = "exec"
51 return symbol
52
53 symbol_for_fragment = staticmethod(symbol_for_fragment)
54

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected