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

Function _method_match_substring

bpython/autocomplete.py:204–205  ·  view source on GitHub ↗
(word: str, size: int, text: str)

Source from the content-addressed store, hash-verified

202
203
204def _method_match_substring(word: str, size: int, text: str) -> bool:
205 return text in word
206
207
208def _method_match_fuzzy(word: str, size: int, text: str) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected