@@ -7,7 +7,7 @@ msgstr ""
7
7
"Project-Id-Version :Python 3.12\n "
8
8
"Report-Msgid-Bugs-To :\n "
9
9
"POT-Creation-Date :2023-12-16 00:03+0000\n "
10
- "PO-Revision-Date :2024-02-22 22:28 +0800\n "
10
+ "PO-Revision-Date :2024-02-23 00:13 +0800\n "
11
11
"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
12
12
"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
13
13
"tw)\n "
@@ -2700,17 +2700,17 @@ msgid ""
2700
2700
"*returned object* that is used as a context manager (and has :meth:`~object."
2701
2701
"__enter__` and :meth:`~object.__exit__` called)."
2702
2702
msgstr ""
2703
- "問題是,即使你 mock 了對 :func:`open` 的呼叫,它也是作為情境管理器使用的 *回 "
2704
- "傳物件 *\\ (且其 :meth:`~object.__enter__` 和 :meth:`~ object.__exit__ `已被 "
2705
- "呼叫 )。"
2703
+ "問題是,即使你 mock 了對 :func:`open` 的呼叫,它也是作為情境管理器使用的\\ * "
2704
+ "回傳物件 *\\ (且其 :meth:`~object.__enter__` 和 :meth:`~ object.__exit__ `已 "
2705
+ "被呼叫 )。"
2706
2706
2707
2707
#: ../../library/unittest.mock.rst:2498
2708
2708
msgid ""
2709
2709
"Mocking context managers with a :class:`MagicMock` is common enough and "
2710
2710
"fiddly enough that a helper function is useful. ::"
2711
2711
msgstr ""
2712
2712
"使用 :class:`MagicMock` mock 情境管理器相當常見並且精細,因此輔助函式就非常有"
2713
- "用。 : ::"
2713
+ "用: ::"
2714
2714
2715
2715
#: ../../library/unittest.mock.rst:2515
2716
2716
msgid "And for reading files::"