@@ -7,7 +7,7 @@ msgstr ""
77"Project-Id-Version :Python 3.12\n "
88"Report-Msgid-Bugs-To :\n "
99"POT-Creation-Date :2023-07-22 00:04+0000\n "
10- "PO-Revision-Date :2023-07-31 18:24 +0800\n "
10+ "PO-Revision-Date :2023-08-01 12:20 +0800\n "
1111"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1212"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1313"tw)\n "
@@ -266,6 +266,11 @@ msgid ""
266266"`EncodingWarning` if they don't pass an ``encoding``. However, please "
267267"consider using UTF-8 by default (i.e. ``encoding=\" utf-8\" ``) for new APIs."
268268msgstr ""
269+ "如果你正在提供一個使用 :func:`open` 或 :class:`TextIOWrapper` 且傳遞 "
270+ "``encoding=None`` 作為參數的 API,你可以使用 :func:`text_encoding`。如此一來"
271+ "如果 API 的呼叫方沒有傳遞 ``encoding``,呼叫方就會發出一個 :exc:"
272+ "`EncodingWarning`。然而,對於新的 API,請考慮預設使用 UTF-8(即 "
273+ "``encoding=\" utf-8\" ``)。"
269274
270275#: ../../library/io.rst:162
271276msgid "High-level Module Interface"
@@ -277,6 +282,8 @@ msgid ""
277282"classes. :func:`open` uses the file's blksize (as obtained by :func:`os."
278283"stat`) if possible."
279284msgstr ""
285+ "一個包含模組中緩衝 I/O 類別所使用的預設緩衝區大小的整數。若可能的話,:func:"
286+ "`open` 會使用檔案的 blksize (透過 :func:`os.stat` 取得)。"
280287
281288#: ../../library/io.rst:173
282289msgid "This is an alias for the builtin :func:`open` function."
@@ -296,6 +303,9 @@ msgid ""
296303"arguments ``path``, ``mode`` and ``flags``. The ``mode`` and ``flags`` "
297304"arguments may have been modified or inferred from the original call."
298305msgstr ""
306+ "此函式會引發一個帶有引數 ``path``、``mode`` 以及 ``flags`` 的\\ :ref:`稽核事件 "
307+ "(auditing event) <auditing>` ``open``。``mode`` 與 ``flags`` 引數可能已經被修"
308+ "改或者從原始呼叫中被推斷出來。"
299309
300310#: ../../library/io.rst:184
301311msgid ""
@@ -345,6 +355,8 @@ msgid ""
345355"In this example, an :class:`EncodingWarning` is emitted for the caller of "
346356"``read_text()``."
347357msgstr ""
358+ "在此範例中,對於 ``read_text()`` 的呼叫方會引發一個 :class:"
359+ "`EncodingWarning`。"
348360
349361#: ../../library/io.rst:220
350362msgid "See :ref:`io-text-encoding` for more information."
@@ -355,18 +367,22 @@ msgid ""
355367":func:`text_encoding` returns\" utf-8\" when UTF-8 mode is enabled and "
356368"*encoding* is ``None``."
357369msgstr ""
370+ "當 UTF-8 模式啟用且 *encoding* 為 ``None`` 時,:func:`text_encoding` 會回傳 "
371+ "\" utf-8\" 。"
358372
359373#: ../../library/io.rst:231
360374msgid ""
361375"This is a compatibility alias for the builtin :exc:`BlockingIOError` "
362376"exception."
363- msgstr ""
377+ msgstr "這是內建的 :exc:`BlockingIOError` 例外的相容性別名。 "
364378
365379#: ../../library/io.rst:237
366380msgid ""
367381"An exception inheriting :exc:`OSError` and :exc:`ValueError` that is raised "
368382"when an unsupported operation is called on a stream."
369383msgstr ""
384+ "當在資料串流上呼叫不支援的操作時,會引發繼承自 :exc:`OSError` 與 :exc:"
385+ "`ValueError` 的例外。"
370386
371387#: ../../library/io.rst:244
372388msgid ":mod:`sys`"
@@ -377,10 +393,12 @@ msgid ""
377393"contains the standard IO streams: :data:`sys.stdin`, :data:`sys.stdout`, "
378394"and :data:`sys.stderr`."
379395msgstr ""
396+ "包含標準的 IO 資料串流::data:`sys.stdin`、:data:`sys.stdout` 以及 :data:`sys."
397+ "stderr`。"
380398
381399#: ../../library/io.rst:249
382400msgid "Class hierarchy"
383- msgstr ""
401+ msgstr "類別階層 "
384402
385403#: ../../library/io.rst:251
386404msgid ""
@@ -438,12 +456,12 @@ msgstr ""
438456msgid ""
439457"Argument names are not part of the specification, and only the arguments of :"
440458"func:`open` are intended to be used as keyword arguments."
441- msgstr ""
459+ msgstr "引數名稱不是規範的一部份,只有 :func:`open` 的引數將作為關鍵字引數。 "
442460
443461#: ../../library/io.rst:289
444462msgid ""
445463"The following table summarizes the ABCs provided by the :mod:`io` module:"
446- msgstr ""
464+ msgstr "以下表格總結了 :mod:`io` 模組提供的抽象基礎類別 (ABC): "
447465
448466#: ../../library/io.rst:294
449467msgid "ABC"