Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
Callers
2
test_module_content_changed
Method · 0.95
test_import_module_with_rewind
Method · 0.95
Calls
1
push
Method · 0.95
Tested by
no test coverage detected