Posts tagged "sentinel"

Flavio Curella

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'.