@@ -298,7 +298,7 @@ msgid ""
298298"statement. In the example, *myzip* is closed after the :keyword:`!with` "
299299"statement's suite is finished---even if an exception occurs::"
300300msgstr ""
301- "ZipFile 也是一個上下文管理器 ,因此支援 :keyword:`with` 陳述式。在範例中,"
301+ "ZipFile 也是一個情境管理器 ,因此支援 :keyword:`with` 陳述式。在範例中,"
302302"*myzip* 在 :keyword:`!with` 陳述式的程式碼區塊執行完畢後會被關閉 --- 即使發生"
303303"例外也是如此: ::"
304304
@@ -334,7 +334,7 @@ msgstr ""
334334
335335#: ../../library/zipfile.rst:221
336336msgid "Added the ability to use :class:`ZipFile` as a context manager."
337- msgstr "新增 :class:`ZipFile` 作為上下文管理器使用的能力 。"
337+ msgstr "新增 :class:`ZipFile` 作為情境管理器使用的能力 。"
338338
339339#: ../../library/zipfile.rst:224
340340msgid "Added support for :mod:`bzip2 <bz2>` and :mod:`lzma` compression."
@@ -425,7 +425,7 @@ msgid ""
425425":meth:`~ZipFile.open` is also a context manager and therefore supports the :"
426426"keyword:`with` statement::"
427427msgstr ""
428- ":meth:`~ZipFile.open` 也是一個上下文管理器 ,因此支援 :keyword:`with` 陳述"
428+ ":meth:`~ZipFile.open` 也是一個情境管理器 ,因此支援 :keyword:`with` 陳述"
429429"式: ::"
430430
431431#: ../../library/zipfile.rst:288
@@ -899,15 +899,15 @@ msgstr "列舉目前目錄的子項目。"
899899
900900#: ../../library/zipfile.rst:590
901901msgid "Return ``True`` if the current context references a directory."
902- msgstr "如果目前上下文參照到一個目錄 ,則回傳 ``True``。"
902+ msgstr "如果目前情境參照到一個目錄 ,則回傳 ``True``。"
903903
904904#: ../../library/zipfile.rst:594
905905msgid "Return ``True`` if the current context references a file."
906- msgstr "如果目前上下文參照到一個檔案 ,則回傳 ``True``。"
906+ msgstr "如果目前情境參照到一個檔案 ,則回傳 ``True``。"
907907
908908#: ../../library/zipfile.rst:598
909909msgid "Return ``True`` if the current context references a symbolic link."
910- msgstr "如果目前上下文參照到一個符號連結 ,則回傳 ``True``。"
910+ msgstr "如果目前情境參照到一個符號連結 ,則回傳 ``True``。"
911911
912912#: ../../library/zipfile.rst:602
913913msgid "Previously, ``is_symlink`` would unconditionally return ``False``."
@@ -917,7 +917,7 @@ msgstr "先前,``is_symlink`` 會無條件地回傳 ``False``。"
917917msgid ""
918918"Return ``True`` if the current context references a file or directory in the "
919919"zip file."
920- msgstr "如果目前上下文參照到 zip 檔案中的一個檔案或目錄,則回傳 ``True``。"
920+ msgstr "如果目前情境參照到 zip 檔案中的一個檔案或目錄,則回傳 ``True``。"
921921
922922#: ../../library/zipfile.rst:612
923923msgid ""
@@ -952,7 +952,7 @@ msgid ""
952952"implied by the context)."
953953msgstr ""
954954"將目前檔案讀取為 unicode 文字。位置引數和關鍵字引數會被傳遞給 :class:`io."
955- "TextIOWrapper`\\ (但 ``buffer`` 會根據上下文隱式處理 )。"
955+ "TextIOWrapper`\\ (但 ``buffer`` 會根據情境隱式處理 )。"
956956
957957#: ../../library/zipfile.rst:647
958958msgid "Read the current file as bytes."
0 commit comments