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

Method head

bpython/test/test_curtsies_repl.py:355–357  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

353 self.repl.on_enter()
354
355 def head(self, path):
356 self.push("import sys")
357 self.push('sys.path.append("%s")' % (path))
358
359 @staticmethod
360 @contextmanager

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected