bundles / IPython latest / IPython / core / completer / _deduplicate_completions
function
IPython.core.completer:_deduplicate_completions
source: /IPython/core/completer.py:816
Signature
def _deduplicate_completions(text: str, completions: _IC) → _ICSummary
Deduplicate a set of completions.
Extended Summary
Parameters
text: strtext that should be completed.
completions: Iterator[Completion]iterator over the completions to deduplicate
Yields
: `Completions` objects: Completions coming from multiple sources, may be different but end up having: the same effect when applied to ``text``. If this is the case, this will: consider completions as equal and only emit the first encountered.: Not folded in `completions()` yet for debugging purpose, and to detect when: the IPython completer does return things that Jedi does not, but should be: at some point.
Aliases
IPython.core.completer._deduplicate_completions