MCPcopy Create free account
hub / github.com/bpython/bpython / __next__

Method __next__

bpython/repl.py:254–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

252 return self.matches[self.index]
253
254 def __next__(self) -> str:
255 self.index = (self.index + 1) % len(self.matches)
256 return self.matches[self.index]
257
258 def previous(self) -> str:
259 if self.index <= 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected