Skip to content

Commit

Permalink
fix: 修正member翻譯為成員
Browse files Browse the repository at this point in the history
  • Loading branch information
ken71301 committed Oct 13, 2023
1 parent e392522 commit d0f95d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/unittest.mock.po
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ msgid ""
"is any keyword arguments (or an empty dictionary)."
msgstr ""
"這會是 ``None``(如果 mock 尚未被呼叫),或是 mock 上次被呼叫時使用的引數。這"
"將以元組的形式呈現:第一個構件 (member),其可以通過 ``args`` 屬性訪問,是 "
"mock 被呼叫時傳遞的所有有序引數(或一個空元組)。第二個構件,其可以通過 "
"將以元組的形式呈現:第一個成員 (member),其可以通過 ``args`` 屬性訪問,是 "
"mock 被呼叫時傳遞的所有有序引數(或一個空元組)。第二個成員,其可以通過 "
"``kwargs`` 屬性訪問,是所有關鍵字引數(或一個空字典)。"

#: ../../library/unittest.mock.rst:646
Expand All @@ -654,7 +654,7 @@ msgid ""
"make more complex assertions. See :ref:`calls as tuples <calls-as-tuples>`."
msgstr ""
":attr:`call_args`,以及串列 :attr:`call_args_list`、:attr:`method_calls` 和 :"
"attr:`mock_calls` 的構件都是 :data:`call` 物件。這些都是元組,因此可以解包以"
"attr:`mock_calls` 的成員都是 :data:`call` 物件。這些都是元組,因此可以解包以"
"獲取各個引數並進行更複雜的斷言。參見 :ref:`calls as tuples <calls-as-"
"tuples>`。"

Expand Down

0 comments on commit d0f95d1

Please sign in to comment.