@@ -138,8 +138,8 @@ msgid ""
138
138
"contention and poor performance. Consider using separate instances of :class:"
139
139
"`Random` per thread instead."
140
140
msgstr ""
141
- "全局隨機數產生器和 :class:`Random` 的實例是執行緒安全的。然而,在自由執行緒構"
142
- "建中,對全局產生器或同一 :class:`Random` 實例的並發調用可能會遇到爭用和性能不 "
141
+ "全域隨機數產生器和 :class:`Random` 的實例是執行緒安全的。然而,在自由執行緒構"
142
+ "建中,對全域產生器或同一 :class:`Random` 實例的並行呼叫可能會遇到爭用和性能不 "
143
143
"佳。請考慮改為每個執行緒使用單獨的 :class:`Random` 實例。"
144
144
145
145
#: ../../library/random.rst:70
@@ -966,7 +966,7 @@ msgid ""
966
966
"print(f'hypothesis that there is no difference between the drug and the "
967
967
"placebo.')"
968
968
msgstr ""
969
- "# 範例來自 Dennis Shasha 和 Manda Wilson 的 \\\ " Statistics is Easy\\ \" \n"
969
+ "# 範例來自 Dennis Shasha 和 Manda Wilson 的 \" Statistics is Easy\" \n"
970
970
"from statistics import fmean as mean\n"
971
971
"from random import shuffle\n"
972
972
"\n"
@@ -1142,7 +1142,7 @@ msgstr ""
1142
1142
" return tuple(pool[i] for i in indices)\n"
1143
1143
"\n"
1144
1144
"def random_combination_with_replacement(iterable, r):\n"
1145
- " \" 有放回地選擇 r 個元素。結果按可迭代物件排序 。\" \n"
1145
+ " \" 有放回地選擇 r 個元素。結果按可疊代物件排序 。\" \n"
1146
1146
" # 結果將在 set(itertools.combinations_with_replacement(iterable, r)) 中\n"
1147
1147
" pool = tuple(iterable)\n"
1148
1148
" n = len(pool)\n"
@@ -1251,11 +1251,11 @@ msgstr ""
1251
1251
1252
1252
#: ../../library/random.rst:713
1253
1253
msgid "Command-line usage"
1254
- msgstr "命令行使用 "
1254
+ msgstr "命令列用法 "
1255
1255
1256
1256
#: ../../library/random.rst:717
1257
1257
msgid "The :mod:`!random` module can be executed from the command line."
1258
- msgstr ":mod:`!random` 模組可以從命令行執行 。"
1258
+ msgstr ":mod:`!random` 模組可以從命令列執行 。"
1259
1259
1260
1260
#: ../../library/random.rst:719
1261
1261
msgid ""
@@ -1304,11 +1304,11 @@ msgstr "浮點數:與 :option:`--float` 相同。"
1304
1304
1305
1305
#: ../../library/random.rst:756
1306
1306
msgid "Command-line example"
1307
- msgstr "命令行範例 "
1307
+ msgstr "命令列範例 "
1308
1308
1309
1309
#: ../../library/random.rst:758
1310
1310
msgid "Here are some examples of the :mod:`!random` command-line interface:"
1311
- msgstr "以下是 :mod:`!random` 命令行界面的一些範例 :"
1311
+ msgstr "以下是 :mod:`!random` 命令列介面的一些範例 :"
1312
1312
1313
1313
#: ../../library/random.rst:760
1314
1314
msgid ""
@@ -1343,8 +1343,8 @@ msgid ""
1343
1343
"3.1942323316565915"
1344
1344
msgstr ""
1345
1345
"$ # 隨機選擇一個\n"
1346
- "$ python -m random egg bacon sausage spam \\\ " Lobster Thermidor aux "
1347
- "crevettes with a Mornay sauce\\\ " \n"
1346
+ "$ python -m random egg bacon sausage spam \" Lobster Thermidor aux "
1347
+ "crevettes with a Mornay sauce\" \n"
1348
1348
"Lobster Thermidor aux crevettes with a Mornay sauce\n"
1349
1349
"\n"
1350
1350
"$ # 隨機整數\n"
@@ -1356,8 +1356,8 @@ msgstr ""
1356
1356
"1.7080016272295635\n"
1357
1357
"\n"
1358
1358
"$ # 使用明確的引數\n"
1359
- "$ python -m random --choice egg bacon sausage spam \\\ " Lobster Thermidor "
1360
- "aux crevettes with a Mornay sauce\\\ " \n"
1359
+ "$ python -m random --choice egg bacon sausage spam \" Lobster Thermidor "
1360
+ "aux crevettes with a Mornay sauce\" \n"
1361
1361
"egg\n"
1362
1362
"\n"
1363
1363
"$ python -m random --integer 6\n"
0 commit comments