Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prompt-toolkit/ptpython
/ get_globals
Function
get_globals
src/ptpython/repl.py:586–587 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
584
locals = locals or globals
585
586
def
get_globals() -> dict[str, Any]:
587
return
globals
588
589
def
get_locals() -> dict[str, Any]:
590
return
locals
Callers
1
_globals
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected