bundles / IPython 9.5.0 / IPython / core / completer / Completion / __eq__
function
IPython.core.completer:Completion.__eq__
source: /IPython/core/completer.py :536
Signature
def __eq__ ( self , other ) → bool Summary
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__