Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __lt__
Method
__lt__
example_code/item_104.py:206–207 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
204
self.due_date = due_date
205
206
def
__lt__(self, other):
207
return
self.due_date < other.due_date
208
209
210
print(
"Example 14"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected