Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ f
Method
f
Lib/test/test_peepholer.py:109–112 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
107
def
test_global_as_constant(self):
108
# LOAD_GLOBAL None/True/False --> LOAD_CONST None/True/False
109
def
f():
110
x = None
111
x = None
112
return
x
113
def
g():
114
x = True
115
return
x
Callers
nothing calls this directly
Calls
2
foo
Function · 0.70
baz
Function · 0.50
Tested by
no test coverage detected