File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -1399,12 +1399,12 @@ msgid ""
1399
1399
"parrot('a thousand', state='pushing up the daisies') # 1 positional, 1 "
1400
1400
"keyword"
1401
1401
msgstr ""
1402
- "parrot(1000) # 1 個位置引數
1403
- parrot(voltage=1000) # 1 個關鍵字引數
1404
- parrot(voltage=1000000, action='VOOOOOM') # 2 個關鍵字引數
1405
- parrot(action='VOOOOOM', voltage=1000000) # 2 個關鍵字引數
1406
- parrot('a million', 'bereft of life', 'jump') # 3 個位置引數
1407
- parrot('a thousand', state='pushing up the daisies') # 1 個位置引數、1 個關鍵字引數"
1402
+ "parrot(1000) # 1 個位置引數\n"
1403
+ " parrot(voltage=1000) # 1 個關鍵字引數\n"
1404
+ " parrot(voltage=1000000, action='VOOOOOM') # 2 個關鍵字引數\n"
1405
+ " parrot(action='VOOOOOM', voltage=1000000) # 2 個關鍵字引數\n"
1406
+ " parrot('a million', 'bereft of life', 'jump') # 3 個位置引數\n"
1407
+ " parrot('a thousand', state='pushing up the daisies') # 1 個位置引數、1 個關鍵字引數\n "
1408
1408
1409
1409
#: ../../tutorial/controlflow.rst:677
1410
1410
msgid "but all the following calls would be invalid::"
Original file line number Diff line number Diff line change @@ -381,8 +381,7 @@ msgstr ""
381
381
">>> s = 'First line.\\ nSecond line.' # \\ n 表示換行\n"
382
382
">>> s # 沒有 print(),特殊字元會包含在字串中\n"
383
383
"'First line.\\ nSecond line.'\n"
384
- ">>> print(s) # with print(), special characters are interpreted, so \\ n "
385
- "produces new line\n"
384
+ ">>> print(s) # 有 print(),特殊字元會被直譯,所以 \\ n 會產生新的一行\n"
386
385
"First line.\n"
387
386
"Second line."
388
387
Original file line number Diff line number Diff line change @@ -1075,7 +1075,7 @@ msgstr ""
1075
1075
" \" reverse\" , # !!! 現在指向 'reverse' 函式 !!!\n"
1076
1076
"]\n"
1077
1077
"\n"
1078
- "def reverse(msg: str): # 在 'from sound.effects import *' 的情況下\n"
1078
+ "def reverse(msg: str): # <-- 在 'from sound.effects import *' 的情況下\n"
1079
1079
" return msg[::-1] # 這個名稱遮蔽了 'reverse.py' 子模組"
1080
1080
1081
1081
#: ../../tutorial/modules.rst:534
You can’t perform that action at this time.
0 commit comments