Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _open_gap_from_i
Method
_open_gap_from_i
Lib/turtledemo/sorting_animate.py:56–59 ·
view source on GitHub ↗
(self, i)
Source
from the content-addressed store, hash-verified
54
b.setx(xpos - 34)
55
56
def
_open_gap_from_i(self, i):
57
for
b in self[i:]:
58
xpos, _ = b.pos()
59
b.setx(xpos + 34)
60
61
def
pop(self, key):
62
b = list.pop(self, key)
Callers
1
insert
Method · 0.95
Calls
2
pos
Method · 0.45
setx
Method · 0.45
Tested by
no test coverage detected