MCPcopy Index your code
hub / github.com/ipython/ipython / python_func_kw_matcher

Method python_func_kw_matcher

IPython/core/completer.py:2902–2905  ·  view source on GitHub ↗

Match named parameters (kwargs) of the last open function.

(self, context: CompletionContext)

Source from the content-addressed store, hash-verified

2900
2901 @context_matcher()
2902 def python_func_kw_matcher(self, context: CompletionContext) -> SimpleMatcherResult:
2903 """Match named parameters (kwargs) of the last open function."""
2904 matches = self.python_func_kw_matches(context.token)
2905 return _convert_matcher_v1_result_to_v2_no_no(matches, type="param")
2906
2907 def python_func_kw_matches(self, text):
2908 """Match named parameters (kwargs) of the last open function.

Callers

nothing calls this directly

Tested by

no test coverage detected