Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ init_shelf
Function
init_shelf
Lib/turtledemo/sorting_animate.py:163–168 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
161
enable_keys()
162
163
def
init_shelf():
164
global s
165
s = Shelf(-200)
166
vals = (4, 2, 8, 9, 1, 5, 10, 3, 7, 6)
167
for
i in vals:
168
s.push(Block(i))
169
170
def
disable_keys():
171
onkey(None,
"s"
)
Callers
1
main
Function · 0.85
Calls
3
push
Method · 0.95
Shelf
Class · 0.70
Block
Class · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…