You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [> The mysterious key type conversion *](#-the-mysterious-key-type-conversion-)
@@ -1043,7 +1043,7 @@ NameError: name 'e' is not defined
1043
1043
1044
1044
---
1045
1045
1046
-
### > When True is actually False
1046
+
### > When True is actually False/真亦假
1047
1047
1048
1048
```py
1049
1049
True = False
@@ -1056,10 +1056,10 @@ if True == False:
1056
1056
I've lost faith in truth!
1057
1057
```
1058
1058
1059
-
#### 💡 Explanation:
1059
+
#### 💡 说明:
1060
1060
1061
-
- Initially, Python used to have no `bool` type (people used 0 for false and non-zero value like 1 for true). Then they added `True`, `False`, and a `bool` type, but, for backward compatibility, they couldn't make `True` and `False` constants- they just were built-in variables.
1062
-
- Python 3 was backward-incompatible, so it was now finally possible to fix that, and so this example won't work with Python 3.x!
0 commit comments