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

Method format

bpython/autocomplete.py:416–417  ·  view source on GitHub ↗
(self, word: str)

Source from the content-addressed store, hash-verified

414 return lineparts.current_dotted_attribute(cursor_offset, line)
415
416 def format(self, word: str) -> str:
417 return _after_last_dot(word)
418
419 def attr_matches(
420 self, text: str, namespace: dict[str, Any]

Callers 3

_method_match_fuzzyFunction · 0.45
formatMethod · 0.45
matchesMethod · 0.45

Calls 1

_after_last_dotFunction · 0.85

Tested by

no test coverage detected