@@ -73,7 +73,7 @@ So, here we go...
73
73
- [ > Let's meet Friendly Language Uncle For Life/让生活更友好 * ] ( #-lets-meet-friendly-language-uncle-for-life让生活更友好- )
74
74
- [ > Even Python understands that love is complicated/连Python也知道爱是难言的 * ] ( #-even-python-understands-that-love-is-complicated连Python也知道爱是难言的- )
75
75
- [ > Yes, it exists!/是的, 它存在!] ( #-yes-it-exists是的-它存在 )
76
- - [ > Inpinity * ] ( #-inpinity - )
76
+ - [ > Inpinity/无限 * ] ( #-inpinity无限 - )
77
77
- [ > Mangling time! * ] ( #-mangling-time- )
78
78
- [ Section: Miscellaneous] ( #section-miscellaneous )
79
79
- [ > ` += ` is faster] ( #--is-faster )
@@ -2063,7 +2063,7 @@ True
2063
2063
2064
2064
* `this` 模块是关于 Python 之禅的复活节彩蛋 ([PEP 20](https://www.python.org/dev/peps/pep-0020)).
2065
2065
* 如果你认为这已经够有趣的了, 可以看看 [this.py](https://hg.python.org/cpython/file/c3896275c0f6/Lib/this.py) 的实现. 有趣的是, Python 之禅的实现代码违反了他自己 (这可能是唯一会发生这种情况的地方).
2066
- *
2066
+ *
2067
2067
至于 `love is not True or False; love is love`, 意外却又不言而喻.
2068
2068
2069
2069
---
@@ -2113,9 +2113,10 @@ Try block executed successfully...
2113
2113
2114
2114
---
2115
2115
2116
- ### > Inpinity *
2116
+ ### > Inpinity/无限 *
2117
2117
2118
- The spelling is intended. Please, don't submit a patch for this.
2118
+ 英文拼写是有意的, 请不要为此提交补丁.
2119
+ (译: 这里是为了突出 Python 中无限的定义与[Pi](https://en.wikipedia.org/wiki/Pi)有关, 所以将两个单词拼接了.)
2119
2120
2120
2121
**Output (Python 3.x):**
2121
2122
```py
@@ -2126,9 +2127,9 @@ The spelling is intended. Please, don't submit a patch for this.
2126
2127
-314159
2127
2128
```
2128
2129
2129
- #### 💡 Explanation :
2130
- - Hash of infinity is 10⁵ x π.
2131
- - Interestingly, the hash of `float('-inf')` is "-10⁵ x π" in Python 3, whereas "-10⁵ x e" in Python 2 .
2130
+ #### 💡 说明 :
2131
+ - infinity 的哈希值是 10⁵ x π.
2132
+ - 有意思的是, `float('-inf')` 的哈希值在 Python 3 中是 "-10⁵ x π" , 而在 Python 2 中是 "-10⁵ x e".
2132
2133
2133
2134
---
2134
2135
0 commit comments