MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / runsource

Method runsource

Lib/code.py:51–88  ·  view source on GitHub ↗

Compile and run some source in the interpreter. Arguments are as for compile_command(). One several things can happen: 1) The input is incorrect; compile_command() raised an exception (SyntaxError or OverflowError). A syntax traceback will be printed by ca

(self, source, filename="<input>", symbol="single")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pushMethod · 0.45

Calls 3

showsyntaxerrorMethod · 0.95
runcodeMethod · 0.95
compileMethod · 0.45

Tested by

no test coverage detected