File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ msgid ""
919
919
"to provide a default value for the given *key*, this value is inserted in "
920
920
"the dictionary for the *key*, and returned."
921
921
msgstr ""
922
- "如果 :attr:`default_factory` 不為 ``None``,它會被呼叫(不帶引數)來為給定的 "
922
+ "如果 :attr:`default_factory` 不為 ``None``,它會不帶引數地被呼叫來為給定的 "
923
923
"*key* 提供一個預設值,這個值和 *key* 被作為鍵值對來插入到字典中,並且被此方法"
924
924
"所回傳。"
925
925
@@ -995,7 +995,7 @@ msgstr ""
995
995
"當每個鍵第一次被存取時,它還沒有存在於對映中,所以會自動呼叫 :attr:"
996
996
"`~defaultdict.default_factory` 方法來回傳一個空的 :class:`list` 以建立一個條"
997
997
"目,\\ :meth:`list.append` 操作後續會再新增值到這個新的列表裡。當再次存取該鍵"
998
- "時,就如普通字典般操作(回傳該鍵所指到的 list),\\ :meth:`list.append` 也會"
998
+ "時,就如普通字典般操作(回傳該鍵所對應到的 list),\\ :meth:`list.append` 也會"
999
999
"新增另一個值到 list 中。和使用與其等價的 :meth:`dict.setdefault` 相比,這個技"
1000
1000
"巧更加快速和簡單:"
1001
1001
You can’t perform that action at this time.
0 commit comments