MCPcopy Create free account
hub / github.com/ipython/ipython / jump

Method jump

IPython/lib/demo.py:375–379  ·  view source on GitHub ↗

Jump a given number of blocks relative to the current one. The offset can be positive or negative, defaults to 1.

(self,num=1)

Source from the content-addressed store, hash-verified

373 self.seek(self.block_index-num)
374
375 def jump(self,num=1):
376 """Jump a given number of blocks relative to the current one.
377
378 The offset can be positive or negative, defaults to 1."""
379 self.seek(self.block_index+num)
380
381 def again(self):
382 """Move the seek pointer back one block and re-execute."""

Callers

nothing calls this directly

Calls 1

seekMethod · 0.95

Tested by

no test coverage detected