Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2f72c9f

Browse files
Apply suggestions from code review
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent466d7ac commit2f72c9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎library/weakref.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ msgid ""
135135
msgstr""
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`."
221221
msgstr""
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::"
383383
msgstr""
384-
"一個特製的 :class:`ref` 子類別,其模擬對繫結函式 (bound method) (即在類別上"
384+
"一個特製的 :class:`ref` 子類別,其模擬對繫結方法 (bound method) (即在類別上"
385385
"定義並在實例上查找的方法)的弱參照。由於繫結函式是短暫存在的,因此標準弱參照"
386386
"無法保留它。:class:`WeakMethod` 有特殊的程式碼來重新建立繫結函式,直到物件或"
387387
"原始函式死亡: ::"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp