MCPcopy Index your code
hub / github.com/python/cpython / get_module_completions

Method get_module_completions

Lib/_pyrepl/readline.py:171–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 return result, None
170
171 def get_module_completions(self) -> tuple[list[str], CompletionAction | None] | None:
172 line = self.get_line()
173 return self.config.module_completer.get_completions(line)
174
175 def get_trimmed_history(self, maxlength: int) -> list[str]:
176 if maxlength >= 0:

Callers 1

get_completionsMethod · 0.95

Calls 2

get_lineMethod · 0.45
get_completionsMethod · 0.45

Tested by

no test coverage detected