Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ternjs/tern_for_vim
/ __lt__
Method
__lt__
script/tern.py:335–336 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
333
def
__init__(self, obj, *args):
334
self.obj = obj
335
def
__lt__(self, other):
336
return
mycmp(self.obj, other.obj) < 0
337
def
__gt__(self, other):
338
return
mycmp(self.obj, other.obj) > 0
339
def
__eq__(self, other):
Callers
nothing calls this directly
Calls
1
mycmp
Function · 0.85
Tested by
no test coverage detected