MCPcopy Index your code
hub / github.com/bpython/bpython / is_cseq

Method is_cseq

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

Source from the content-addressed store, hash-verified

279 )
280
281 def is_cseq(self) -> bool:
282 return bool(
283 os.path.commonprefix(self.matches)[len(self.current_word) :]
284 )
285
286 def substitute_cseq(self) -> tuple[int, str]:
287 """Returns a new line by substituting a common sequence in, and update

Callers 3

tabMethod · 0.80
test_is_cseqMethod · 0.80
on_tabMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_is_cseqMethod · 0.64