sage Jan 25
>>> a = {1: 1, True: None} >>> a[True] = not False >>> print(a[not None], a[1]) >>> print(a)