Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ do
Method
do
Lib/_pyrepl/commands.py:190–195 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
188
189
class
yank(YankCommand):
190
def
do(self) -> None:
191
r = self.reader
192
if
not r.kill_ring:
193
r.error(
"nothing to yank"
)
194
return
195
r.insert(r.kill_ring[-1])
196
197
198
class
yank_pop(YankCommand):
Callers
nothing calls this directly
Calls
2
error
Method · 0.45
insert
Method · 0.45
Tested by
no test coverage detected