Login
From:
treyhunner.com
(Uncensored)
subscribe
Unique sentinel values, identity checks, and when to use object() instead of None
https://treyhunner.com/2019/03/unique-and-sentinel-values-in-python/
links
backlinks
Roast topics
Find topics
Find it!
Occasionally in Python (and in programming in general), you’ll need an object which can be uniquely identified. Sometimes this unique object …