Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_global
Method
get_global
Lib/test/test_interpreters/test_api.py:1815–1816 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
1813
globals()[name] = value
1814
1815
def
get_global(name):
1816
return
globals().get(name)
1817
1818
interp = interpreters.create()
1819
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected