MCPcopy Create free account
hub / github.com/ycm-core/YouCompleteMe / __eq__

Method __eq__

python/ycm/tests/test_utils.py:641–646  ·  view source on GitHub ↗
( self, other )

Source from the content-addressed store, hash-verified

639
640
641 def __eq__( self, other ):
642 if isinstance( other, dict ):
643 other = VimSign( other[ 'lnum' ], other[ 'name' ], other[ 'buffer' ] )
644 return ( self.line == other.line and
645 self.name == other.name and
646 self.bufnr == other.bufnr )
647
648
649 def __repr__( self ):

Callers

nothing calls this directly

Calls 1

VimSignClass · 0.85

Tested by

no test coverage detected