@@ -298,7 +298,7 @@ msgid ""
298
298
"statement. In the example, *myzip* is closed after the :keyword:`!with` "
299
299
"statement's suite is finished---even if an exception occurs::"
300
300
msgstr ""
301
- "ZipFile 也是一個上下文管理器 ,因此支援 :keyword:`with` 陳述式。在範例中,"
301
+ "ZipFile 也是一個情境管理器 ,因此支援 :keyword:`with` 陳述式。在範例中,"
302
302
"*myzip* 在 :keyword:`!with` 陳述式的程式碼區塊執行完畢後會被關閉 --- 即使發生"
303
303
"例外也是如此: ::"
304
304
@@ -334,7 +334,7 @@ msgstr ""
334
334
335
335
#: ../../library/zipfile.rst:221
336
336
msgid "Added the ability to use :class:`ZipFile` as a context manager."
337
- msgstr "新增 :class:`ZipFile` 作為上下文管理器使用的能力 。"
337
+ msgstr "新增 :class:`ZipFile` 作為情境管理器使用的能力 。"
338
338
339
339
#: ../../library/zipfile.rst:224
340
340
msgid "Added support for :mod:`bzip2 <bz2>` and :mod:`lzma` compression."
@@ -425,7 +425,7 @@ msgid ""
425
425
":meth:`~ZipFile.open` is also a context manager and therefore supports the :"
426
426
"keyword:`with` statement::"
427
427
msgstr ""
428
- ":meth:`~ZipFile.open` 也是一個上下文管理器 ,因此支援 :keyword:`with` 陳述"
428
+ ":meth:`~ZipFile.open` 也是一個情境管理器 ,因此支援 :keyword:`with` 陳述"
429
429
"式: ::"
430
430
431
431
#: ../../library/zipfile.rst:288
@@ -899,15 +899,15 @@ msgstr "列舉目前目錄的子項目。"
899
899
900
900
#: ../../library/zipfile.rst:590
901
901
msgid "Return ``True`` if the current context references a directory."
902
- msgstr "如果目前上下文參照到一個目錄 ,則回傳 ``True``。"
902
+ msgstr "如果目前情境參照到一個目錄 ,則回傳 ``True``。"
903
903
904
904
#: ../../library/zipfile.rst:594
905
905
msgid "Return ``True`` if the current context references a file."
906
- msgstr "如果目前上下文參照到一個檔案 ,則回傳 ``True``。"
906
+ msgstr "如果目前情境參照到一個檔案 ,則回傳 ``True``。"
907
907
908
908
#: ../../library/zipfile.rst:598
909
909
msgid "Return ``True`` if the current context references a symbolic link."
910
- msgstr "如果目前上下文參照到一個符號連結 ,則回傳 ``True``。"
910
+ msgstr "如果目前情境參照到一個符號連結 ,則回傳 ``True``。"
911
911
912
912
#: ../../library/zipfile.rst:602
913
913
msgid "Previously, ``is_symlink`` would unconditionally return ``False``."
@@ -917,7 +917,7 @@ msgstr "先前,``is_symlink`` 會無條件地回傳 ``False``。"
917
917
msgid ""
918
918
"Return ``True`` if the current context references a file or directory in the "
919
919
"zip file."
920
- msgstr "如果目前上下文參照到 zip 檔案中的一個檔案或目錄,則回傳 ``True``。"
920
+ msgstr "如果目前情境參照到 zip 檔案中的一個檔案或目錄,則回傳 ``True``。"
921
921
922
922
#: ../../library/zipfile.rst:612
923
923
msgid ""
@@ -952,7 +952,7 @@ msgid ""
952
952
"implied by the context)."
953
953
msgstr ""
954
954
"將目前檔案讀取為 unicode 文字。位置引數和關鍵字引數會被傳遞給 :class:`io."
955
- "TextIOWrapper`\\ (但 ``buffer`` 會根據上下文隱式處理 )。"
955
+ "TextIOWrapper`\\ (但 ``buffer`` 會根據情境隱式處理 )。"
956
956
957
957
#: ../../library/zipfile.rst:647
958
958
msgid "Read the current file as bytes."
0 commit comments