Posts tagged "sentinel"

Tips, lessons learned, and news from the REVSYS team on Django, Python, PostgreSQL, and operations.

Pro-Tip

Sentinel values in Python

It is often necessary to differentiate between an argument that has not been provided, and an argument provided with the value `None`. For that purpose, we create what's called a 'sentinel value'.