Skip to content

Commit 42ee91c

Browse files
author
ducheng
committed
EX.Let's meet Friendly Language Uncle For Life
1 parent 006bee3 commit 42ee91c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ So, here we go...
7070
- [> Okay Python, Can you make me fly?/Python, 可否带我飞? *](#-okay-python-can-you-make-me-flypython-可否带我飞-)
7171
- [> `goto`, but why?/`goto`, 但为什么? *](#-goto-but-whygoto-但为什么-)
7272
- [> Brace yourself!/做好思想准备 *](#-brace-yourself做好思想准备-)
73-
- [> Let's meet Friendly Language Uncle For Life *](#-lets-meet-friendly-language-uncle-for-life-)
73+
- [> Let's meet Friendly Language Uncle For Life/让生活更友好 *](#-lets-meet-friendly-language-uncle-for-life让生活更友好-)
7474
- [> Even Python understands that love is complicated *](#-even-python-understands-that-love-is-complicated-)
7575
- [> Yes, it exists!](#-yes-it-exists)
7676
- [> Inpinity *](#-inpinity-)
@@ -1966,12 +1966,12 @@ SyntaxError: not a chance
19661966
19671967
---
19681968
1969-
### > Let's meet Friendly Language Uncle For Life *
1969+
### > Let's meet Friendly Language Uncle For Life/让生活更友好 *
19701970
19711971
**Output (Python 3.x)**
19721972
```py
19731973
>>> from __future__ import barry_as_FLUFL
1974-
>>> "Ruby" != "Python" # there's no doubt about it
1974+
>>> "Ruby" != "Python" # 这里没什么疑问
19751975
File "some_file.py", line 1
19761976
"Ruby" != "Python"
19771977
^
@@ -1981,14 +1981,14 @@ SyntaxError: invalid syntax
19811981
True
19821982
```
19831983
1984-
There we go.
1985-
1986-
#### 💡 Explanation:
1987-
- This is relevant to [PEP-401](https://www.python.org/dev/peps/pep-0401/) released on April 1, 2009 (now you know, what it means).
1988-
- Quoting from the PEP-401
1989-
> Recognized that the != inequality operator in Python 3.0 was a horrible, finger pain inducing mistake, the FLUFL reinstates the <> diamond operator as the sole spelling.
1990-
- There were more things that Uncle Barry had to share in the PEP; you can read them [here](https://www.python.org/dev/peps/pep-0401/).
1984+
这就对了.
19911985
1986+
#### 💡 说明:
1987+
- 相关的 [PEP-401](https://www.python.org/dev/peps/pep-0401/) 发布于 2009年4月1日 (所以你现在知道这意味着什么了吧).
1988+
- 引用 PEP-401
1989+
> 意识到 Python 3.0 里的 != 运算符是一个会引起手指疼痛的恐怖错误, FLUFL 将 <> 运算符恢复为唯一写法.
1990+
- Uncle Barry 在 PEP 中还分享了其他东西; 你可以在[这里](https://www.python.org/dev/peps/pep-0401/)获得他们.
1991+
- (译: 虽然文档中没写,但应该是只能在交互解释器中使用.)
19921992
---
19931993
19941994
### > Even Python understands that love is complicated *

0 commit comments

Comments
 (0)