|
9 | 9 | msgstr "" |
10 | 10 | "Project-Id-Version: Python 3.14\n" |
11 | 11 | "Report-Msgid-Bugs-To: \n" |
12 | | -"POT-Creation-Date: 2026-01-15 00:15+0000\n" |
| 12 | +"POT-Creation-Date: 2026-03-23 00:22+0000\n" |
13 | 13 | "PO-Revision-Date: 2023-04-24 20:38+0800\n" |
14 | 14 | "Last-Translator: Matt Wang <mattwang44@gmail.com>\n" |
15 | 15 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" |
@@ -192,52 +192,66 @@ msgstr "" |
192 | 192 | "`const char*`。" |
193 | 193 |
|
194 | 194 | #: ../../c-api/file.rst:124 |
| 195 | +#, fuzzy |
195 | 196 | msgid "" |
196 | 197 | "Write object *obj* to file object *p*. The only supported flag for *flags* " |
197 | 198 | "is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is " |
198 | | -"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on " |
199 | | -"failure; the appropriate exception will be set." |
| 199 | +"written instead of the :func:`repr`." |
200 | 200 | msgstr "" |
201 | 201 | "將物件 *obj* 寫入檔案物件 *p*。 *flags* 唯一支援的旗標是 :c:macro:" |
202 | 202 | "`Py_PRINT_RAW`;如果有給定,則寫入物件的 :func:`str` 而不是 :func:`repr`。在" |
203 | 203 | "成功回傳 ``0`` 或在失敗回傳 ``-1``;將設定適當的例外。" |
204 | 204 |
|
205 | | -#: ../../c-api/file.rst:132 |
| 205 | +#: ../../c-api/file.rst:128 |
| 206 | +msgid "If *obj* is ``NULL``, write the string ``\"<NULL>\"``." |
| 207 | +msgstr "" |
| 208 | + |
| 209 | +#: ../../c-api/file.rst:130 |
| 210 | +#, fuzzy |
| 211 | +msgid "" |
| 212 | +"Return ``0`` on success or ``-1`` on failure; the appropriate exception will " |
| 213 | +"be set." |
| 214 | +msgstr "" |
| 215 | +"寫入字串 *s* 到 檔案物件 *p*。當成功時回傳 0,而當失敗時回傳 -1,並會設定合適" |
| 216 | +"的例外狀況。" |
| 217 | + |
| 218 | +#: ../../c-api/file.rst:135 |
206 | 219 | msgid "" |
207 | 220 | "Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on " |
208 | 221 | "failure; the appropriate exception will be set." |
209 | 222 | msgstr "" |
210 | 223 | "寫入字串 *s* 到 檔案物件 *p*。當成功時回傳 0,而當失敗時回傳 -1,並會設定合適" |
211 | 224 | "的例外狀況。" |
212 | 225 |
|
213 | | -#: ../../c-api/file.rst:137 |
| 226 | +#: ../../c-api/file.rst:140 |
214 | 227 | msgid "Deprecated API" |
215 | 228 | msgstr "已棄用的 API" |
216 | 229 |
|
217 | | -#: ../../c-api/file.rst:140 |
| 230 | +#: ../../c-api/file.rst:143 |
218 | 231 | msgid "" |
219 | 232 | "These are :term:`soft deprecated` APIs that were included in Python's C API " |
220 | 233 | "by mistake. They are documented solely for completeness; use other " |
221 | 234 | "``PyFile*`` APIs instead." |
222 | 235 | msgstr "" |
223 | | -"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 <soft deprecated>` API。它們僅為" |
224 | | -"了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。" |
| 236 | +"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 <soft deprecated>` " |
| 237 | +"API。它們僅為了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。" |
225 | 238 |
|
226 | | -#: ../../c-api/file.rst:146 |
| 239 | +#: ../../c-api/file.rst:149 |
227 | 240 | msgid "" |
228 | 241 | "Use :c:func:`PyFile_FromFd` with defaults (``fd, NULL, \"w\", -1, NULL, " |
229 | 242 | "NULL, NULL, 0``) instead." |
230 | 243 | msgstr "" |
231 | | -"請改用帶有預設值 (``fd, NULL, \"w\", -1, NULL, NULL, NULL, 0``) 的 :c:func:`PyFile_FromFd`。" |
| 244 | +"請改用帶有預設值 (``fd, NULL, \"w\", -1, NULL, NULL, NULL, 0``) 的 :c:func:" |
| 245 | +"`PyFile_FromFd`。" |
232 | 246 |
|
233 | | -#: ../../c-api/file.rst:150 |
| 247 | +#: ../../c-api/file.rst:153 |
234 | 248 | msgid "" |
235 | 249 | "Type of file-like objects used internally at Python startup when :py:mod:" |
236 | 250 | "`io` is not yet available. Use Python :py:func:`open` or :c:func:" |
237 | 251 | "`PyFile_FromFd` to create file objects instead." |
238 | 252 | msgstr "" |
239 | | -"在 Python 啟動期間,當 :py:mod:`io` 尚不可用時會在內部使用的類檔案物件的型別。請改用 " |
240 | | -"Python :py:func:`open` 或 :c:func:`PyFile_FromFd` 來建立檔案物件。" |
| 253 | +"在 Python 啟動期間,當 :py:mod:`io` 尚不可用時會在內部使用的類檔案物件的型" |
| 254 | +"別。請改用 Python :py:func:`open` 或 :c:func:`PyFile_FromFd` 來建立檔案物件。" |
241 | 255 |
|
242 | 256 | #: ../../c-api/file.rst:8 |
243 | 257 | msgid "object" |
|
0 commit comments