bundles / IPython latest / IPython / core / completer / Completion / __eq__
function
IPython.core.completer:Completion.__eq__
source: /IPython/core/completer.py:553
Signature
def __eq__(self, other) → boolSummary
Equality and hash do not hash the type (as some completer may not be able to infer the type), but are use to (partially) de-duplicate completion.
Extended Summary
Completely de-duplicating completion is a bit tricker that just comparing as it depends on surrounding text, which Completions are not aware of.
Aliases
IPython.core.completer.Completion.__eq__