TLDR Tech / Dev
Python's pre-declared constants are kinda weird
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.
Read the full story