This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / completer / Completion / __eq__

function

IPython.core.completer:Completion.__eq__

source: /IPython/core/completer.py :534

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__