File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1134,7 +1134,7 @@ msgstr ":c:func:`releasebufferproc`"
11341134
11351135#: ../../c-api/typeobj.rst:330
11361136msgid "__release_ buffer\\ __"
1137- msgstr "__release_buffer__ "
1137+ msgstr "__release_ buffer \\ __ "
11381138
11391139#: ../../c-api/typeobj.rst:337
11401140msgid "slot typedefs"
Original file line number Diff line number Diff line change @@ -1698,10 +1698,10 @@ msgid ""
16981698"improperly synchronized :term:`concurrent modification`."
16991699msgstr ""
17001700"一個具有固定值的物件。不可變物件包括數字、字串和 tuple(元組)。這類物件是不"
1701- "能被改變的。如果一個不同的值必須被儲存,則必須建立一個新的物件 。它們在需要恆"
1702- "定雜湊值的地方,扮演重要的角色, 例如 dictionary(字典) 中的一個鍵。不可變物件本"
1701+ "能被改變的。如果必須儲存一個不同的值,則需要建立一個新的物件 。它們在需要恆"
1702+ "定雜湊值的地方扮演重要的角色, 例如 dictionary 中的一個鍵。不可變物件本"
17031703"質上是\\ :term:`執行緒安全的 <thread-safe>`,因為它們的狀態在建立後無法被修改,"
1704- "從而消除了對不當同步的\\ :term:`並行修改 <concurrent modification>` 的疑慮。"
1704+ "從而消除了對不當同步的\\ :term:`並行修改 <concurrent modification>`\\ 的疑慮。"
17051705
17061706#: ../../glossary.rst:766
17071707msgid "import path"
@@ -1987,7 +1987,7 @@ msgstr ""
19871987"在一個多執行緒環境中,LBYL 方式有在「三思」和「後行」之間引入\\ :term:`競爭條件 "
19881988"<race condition>` 的風險。例如以下程式碼 ``if key in mapping: return "
19891989"mapping[key]``,如果另一個執行緒在測試之後但在查找之前,從 *mapping* 中移除"
1990- "了 *key*,則該程式碼就會失效。這個問題可以用\\ :term:`鎖 <lock>` 或使用 :term:"
1990+ "了 *key*,則該程式碼就會失效。這個問題可以用\\ :term:`鎖 <lock>`\\ 或使用 :term:"
19911991"`EAFP` 編碼方式來解決。另請參閱\\ :term:`執行緒安全 <thread-safe>`。"
19921992
19931993#: ../../glossary.rst:900
You can’t perform that action at this time.
0 commit comments