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

Method push

Lib/code.py:249–268  ·  view source on GitHub ↗

Push a line to the interpreter. The line should not have a trailing newline; it may have internal newlines. The line is appended to a buffer and the interpreter's runsource() method is called with the concatenated contents of the buffer as source. If this i

(self, line)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

interactMethod · 0.95

Calls 4

resetbufferMethod · 0.95
appendMethod · 0.45
joinMethod · 0.45
runsourceMethod · 0.45

Tested by

no test coverage detected