MCPcopy Index your code
hub / github.com/python/cpython / left

Class left

Lib/_pyrepl/commands.py:311–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310
311class left(MotionCommand):
312 def do(self) -> None:
313 r = self.reader
314 for _ in range(r.get_arg()):
315 p = r.pos - 1
316 if p >= 0:
317 r.pos = p
318 else:
319 self.reader.error("start of buffer")
320
321
322class right(MotionCommand):

Callers 6

demo1Function · 0.85
lFunction · 0.85
mainFunction · 0.85
yinFunction · 0.85
jumpFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…