MCPcopy Index your code
hub / github.com/bpython/bpython / push

Method push

bpython/test/test_curtsies_repl.py:351–353  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

349 sys.path = self.sys_path
350
351 def push(self, line):
352 self.repl._current_line = line
353 self.repl.on_enter()
354
355 def head(self, path):
356 self.push("import sys")

Calls 1

on_enterMethod · 0.80

Tested by

no test coverage detected