@@ -138,8 +138,8 @@ msgid ""
138138"contention and poor performance. Consider using separate instances of :class:"
139139"`Random` per thread instead."
140140msgstr ""
141- "全局隨機數產生器和 :class:`Random` 的實例是執行緒安全的。然而,在自由執行緒構"
142- "建中,對全局產生器或同一 :class:`Random` 實例的並發調用可能會遇到爭用和性能不 "
141+ "全域隨機數產生器和 :class:`Random` 的實例是執行緒安全的。然而,在自由執行緒構"
142+ "建中,對全域產生器或同一 :class:`Random` 實例的並行呼叫可能會遇到爭用和性能不 "
143143"佳。請考慮改為每個執行緒使用單獨的 :class:`Random` 實例。"
144144
145145#: ../../library/random.rst:70
@@ -966,7 +966,7 @@ msgid ""
966966"print(f'hypothesis that there is no difference between the drug and the "
967967"placebo.')"
968968msgstr ""
969- "# 範例來自 Dennis Shasha 和 Manda Wilson 的 \\\ " Statistics is Easy\\ \" \n"
969+ "# 範例來自 Dennis Shasha 和 Manda Wilson 的 \" Statistics is Easy\" \n"
970970"from statistics import fmean as mean\n"
971971"from random import shuffle\n"
972972"\n"
@@ -1142,7 +1142,7 @@ msgstr ""
11421142" return tuple(pool[i] for i in indices)\n"
11431143"\n"
11441144"def random_combination_with_replacement(iterable, r):\n"
1145- " \" 有放回地選擇 r 個元素。結果按可迭代物件排序 。\" \n"
1145+ " \" 有放回地選擇 r 個元素。結果按可疊代物件排序 。\" \n"
11461146" # 結果將在 set(itertools.combinations_with_replacement(iterable, r)) 中\n"
11471147" pool = tuple(iterable)\n"
11481148" n = len(pool)\n"
@@ -1251,11 +1251,11 @@ msgstr ""
12511251
12521252#: ../../library/random.rst:713
12531253msgid "Command-line usage"
1254- msgstr "命令行使用 "
1254+ msgstr "命令列用法 "
12551255
12561256#: ../../library/random.rst:717
12571257msgid "The :mod:`!random` module can be executed from the command line."
1258- msgstr ":mod:`!random` 模組可以從命令行執行 。"
1258+ msgstr ":mod:`!random` 模組可以從命令列執行 。"
12591259
12601260#: ../../library/random.rst:719
12611261msgid ""
@@ -1304,11 +1304,11 @@ msgstr "浮點數:與 :option:`--float` 相同。"
13041304
13051305#: ../../library/random.rst:756
13061306msgid "Command-line example"
1307- msgstr "命令行範例 "
1307+ msgstr "命令列範例 "
13081308
13091309#: ../../library/random.rst:758
13101310msgid "Here are some examples of the :mod:`!random` command-line interface:"
1311- msgstr "以下是 :mod:`!random` 命令行界面的一些範例 :"
1311+ msgstr "以下是 :mod:`!random` 命令列介面的一些範例 :"
13121312
13131313#: ../../library/random.rst:760
13141314msgid ""
@@ -1343,8 +1343,8 @@ msgid ""
13431343"3.1942323316565915"
13441344msgstr ""
13451345"$ # 隨機選擇一個\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"
13481348"Lobster Thermidor aux crevettes with a Mornay sauce\n"
13491349"\n"
13501350"$ # 隨機整數\n"
@@ -1356,8 +1356,8 @@ msgstr ""
13561356"1.7080016272295635\n"
13571357"\n"
13581358"$ # 使用明確的引數\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"
13611361"egg\n"
13621362"\n"
13631363"$ python -m random --integer 6\n"
0 commit comments