Skip to content

Commit dc96196

Browse files
author
暮晨
committed
EX.Brace yourself
1 parent 0b59928 commit dc96196

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ So, here we go...
6969
- [Section: The Hidden treasures!](#section-the-hidden-treasures)
7070
- [> Okay Python, Can you make me fly?/Python, 可否带我飞? *](#-okay-python-can-you-make-me-flypython-可否带我飞-)
7171
- [> `goto`, but why?/`goto`, 但为什么? *](#-goto-but-whygoto-但为什么-)
72-
- [> Brace yourself! *](#-brace-yourself-)
72+
- [> Brace yourself!/做好思想准备 *](#-brace-yourself做好思想准备-)
7373
- [> 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)
@@ -1943,9 +1943,9 @@ Freedom!
19431943
19441944
---
19451945
1946-
### > Brace yourself! *
1946+
### > Brace yourself!/做好思想准备 *
19471947
1948-
If you are one of the people who doesn't like using whitespace in Python to denote scopes, you can use the C-style {} by importing,
1948+
如果你不喜欢在Python中使用空格来表示作用域, 你可以导入 C 风格的 {},
19491949
19501950
```py
19511951
from __future__ import braces
@@ -1958,11 +1958,11 @@ from __future__ import braces
19581958
SyntaxError: not a chance
19591959
```
19601960
1961-
Braces? No way! If you think that's disappointing, use Java.
1961+
想用大括号? 没门! 觉得不爽, 请去用java.
19621962
1963-
#### 💡 Explanation:
1964-
+ The `__future__` module is normally used to provide features from future versions of Python. The "future" here is however ironic.
1965-
+ This is an easter egg concerned with the community's feelings on this issue.
1963+
#### 💡 说明:
1964+
+ 通常 `__future__` 会提供 Python 未来版本的功能. 然而,这里的 “未来” 是一个讽刺.
1965+
+ 这是一个表达社区对此类问题态度的复活节彩蛋.
19661966
19671967
---
19681968

0 commit comments

Comments
 (0)