File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ msgid ""
135135msgstr ""
136136"並非所有物件都可以被弱參照。支援弱參照的物件包括類別實例、用 Python (但不是"
137137"C)編寫的函式、實例方法、集合、凍結集合 (frozenset)、一些\\ :term:`檔案物件 "
138- "<file object>`、:term:`產生器 <generator>`、類型物件、插座 ( socket) 、陣列、雙"
138+ "<file object>`、:term:`產生器 <generator>`、類型物件、socket、陣列、雙"
139139"向佇列、正規表示式模式物件和程式碼物件。"
140140
141141#: ../../library/weakref.rst:74
@@ -219,7 +219,7 @@ msgid ""
219219"`hash` is called the first time only after the *object* was deleted, the "
220220"call will raise :exc:`TypeError`."
221221msgstr ""
222- "如果 *object* 是可雜湊的,那麼弱參照就是 :term:`hashable` 。即使在 *object* 被"
222+ "如果 *object* 是 \\ :term:`可雜湊的 < hashable>`,那麼弱參照就是可雜湊的 。即使在 *object* 被"
223223"刪除後,它們仍將保留其雜湊值。如果僅在 *object* 刪除後才第一次"
224224"呼叫 :func:`hash`,則該呼叫將引發 :exc:`TypeError`。"
225225
@@ -381,7 +381,7 @@ msgid ""
381381"hold of it. :class:`WeakMethod` has special code to recreate the bound "
382382"method until either the object or the original function dies::"
383383msgstr ""
384- "一個特製的 :class:`ref` 子類別,其模擬對繫結函式 (bound method ) (即在類別上"
384+ "一個特製的 :class:`ref` 子類別,其模擬對繫結方法 (bound method) (即在類別上"
385385"定義並在實例上查找的方法)的弱參照。由於繫結函式是短暫存在的,因此標準弱參照"
386386"無法保留它。:class:`WeakMethod` 有特殊的程式碼來重新建立繫結函式,直到物件或"
387387"原始函式死亡: ::"
You can’t perform that action at this time.
0 commit comments