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

Method _sort

IPython/core/completer.py:3753–3754  ·  view source on GitHub ↗
(matches: Sequence[AnyCompletion])

Source from the content-addressed store, hash-verified

3751
3752 @staticmethod
3753 def _sort(matches: Sequence[AnyCompletion]):
3754 return sorted(matches, key=lambda x: completions_sorting_key(x.text))
3755
3756 @context_matcher()
3757 def fwd_unicode_matcher(self, context: CompletionContext):

Callers 2

_completionsMethod · 0.95
_arrange_and_extractMethod · 0.95

Calls 1

completions_sorting_keyFunction · 0.85

Tested by

no test coverage detected