99msgstr ""
1010"Project-Id-Version :Python 3.12\n "
1111"Report-Msgid-Bugs-To :\n "
12- "POT-Creation-Date :2023-07-22 00:04 +0000\n "
12+ "POT-Creation-Date :2024-02-05 00:03 +0000\n "
1313"PO-Revision-Date :2023-04-24 20:38+0800\n "
1414"Last-Translator :Matt Wang <mattwang44@gmail.com>\n "
1515"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -111,14 +111,19 @@ msgstr ""
111111"數。"
112112
113113#: ../../c-api/file.rst:68
114+ msgid "The handler is a function of type:"
115+ msgstr ""
116+
117+ #: ../../c-api/file.rst:72
118+ #, fuzzy
114119msgid ""
115- "The handler is a function oftype :c:expr:`PyObject *(\\ *)(PyObject *path, "
116- "void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
120+ "Equivalent of :c:expr:`PyObject *(\\ *)(PyObject *path, void *userData)` , "
121+ "where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
117122msgstr ""
118123"處理程式是 :c:expr:`PyObject *(\\ *)(PyObject *path, void *userData)` 型別的函"
119124"式,其中 *path* 保證為 :c:type:`PyUnicodeObject`。"
120125
121- #: ../../c-api/file.rst:71
126+ #: ../../c-api/file.rst:76
122127msgid ""
123128"The *userData* pointer is passed into the hook function. Since hook "
124129"functions may be called from different runtimes, this pointer should not "
@@ -127,7 +132,7 @@ msgstr ""
127132"*userData* 指標被傳遞到掛鉤函式 (hook function) 中。由於可能會從不同的執行環"
128133"境 (runtime) 呼叫掛鉤函式,因此該指標不應直接指向 Python 狀態。"
129134
130- #: ../../c-api/file.rst:75
135+ #: ../../c-api/file.rst:80
131136msgid ""
132137"As this hook is intentionally used during import, avoid importing new "
133138"modules during its execution unless they are known to be frozen or available "
@@ -136,7 +141,7 @@ msgstr ""
136141"由於此掛鉤函式是在導入期間有意使用的,因此請避免在其執行期間導入新模組,除非"
137142"它們已知有被凍結或在 ``sys.modules`` 中可用。"
138143
139- #: ../../c-api/file.rst:79
144+ #: ../../c-api/file.rst:84
140145#, fuzzy
141146msgid ""
142147"Once a hook has been set, it cannot be removed or replaced, and later calls "
@@ -147,19 +152,19 @@ msgstr ""
147152"`PyFile_SetOpenCodeHook` 將失敗。失敗時,函式回傳 -1 並在直譯器已初始化時設定"
148153"例外。"
149154
150- #: ../../c-api/file.rst:83
155+ #: ../../c-api/file.rst:88
151156msgid "This function is safe to call before :c:func:`Py_Initialize`."
152157msgstr "在 :c:func:`Py_Initialize` 之前呼叫此函式是安全的。"
153158
154- #: ../../c-api/file.rst:85
159+ #: ../../c-api/file.rst:90
155160msgid ""
156161"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
157162"arguments."
158163msgstr ""
159164"不帶引數地引發一個\\ :ref:`稽核事件 (auditing event) <auditing>` "
160165"``setopencodehook``\\ 。"
161166
162- #: ../../c-api/file.rst:95
167+ #: ../../c-api/file.rst:100
163168msgid ""
164169"Write object *obj* to file object *p*. The only supported flag for *flags* "
165170"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
@@ -170,7 +175,7 @@ msgstr ""
170175"`Py_PRINT_RAW`;如果有給定,則寫入物件的 :func:`str` 而不是 :func:`repr`。在"
171176"成功回傳 ``0`` 或在失敗回傳 ``-1``;將設定適當的例外。"
172177
173- #: ../../c-api/file.rst:103
178+ #: ../../c-api/file.rst:108
174179msgid ""
175180"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
176181"failure; the appropriate exception will be set."
@@ -190,6 +195,6 @@ msgstr "file(檔案)"
190195msgid "EOFError (built-in exception)"
191196msgstr "EOFError(內建例外)"
192197
193- #: ../../c-api/file.rst:93
198+ #: ../../c-api/file.rst:98
194199msgid "Py_PRINT_RAW"
195200msgstr "Py_PRINT_RAW"