As part of answering another question, I wrote the following code whose behaviour seems bizarre at first glance:
print True # outputs true
You can check whether True/False is a keyword:
>>> import keyword >>> keyword.iskeyword('True') False
Since it's not (in my version), assigning True=False just means "True" is another "variable" name.