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

Function _method_match_simple

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

Source from the content-addressed store, hash-verified

198
199
200def _method_match_simple(word: str, size: int, text: str) -> bool:
201 return word[:size] == text
202
203
204def _method_match_substring(word: str, size: int, text: str) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected