( self, other )
| 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 ): |