Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ do
Method
do
Lib/_pyrepl/commands.py:188–193 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
186
187
class
yank(YankCommand):
188
def
do(self) -> None:
189
r = self.reader
190
if
not r.kill_ring:
191
r.error(
"nothing to yank"
)
192
return
193
r.insert(r.kill_ring[-1])
194
195
196
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