TLDR Dev · MISCELLANEOUS
PYTHON'S PRE-DECLARED CONSTANTS ARE KINDA WEIRD
Summary from the TLDR Dev newsletter
Python has six pre-declared constants (True, False, None, __debug__, Ellipsis, and NotImplemented) that exhibit distinct behaviors. Among these, True, False, and None are unique keywords, while __debug__ is a special identifier that cannot be assigned to, contrasting with the built-in nature of Ellipsis and NotImplemented, which can be shadowed by globals.