MCPcopy 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
189class 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
198class yank_pop(YankCommand):

Callers

nothing calls this directly

Calls 2

errorMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected