MCPcopy 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
187class 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
196class yank_pop(YankCommand):

Callers

nothing calls this directly

Calls 2

errorMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected