Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit efddc60

Browse files
sync with cpython 2b61f6ac
1 parent d6f25a9 commit efddc60

File tree

4 files changed

+456
-452
lines changed

4 files changed

+456
-452
lines changed

howto/curses.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-03 11:11+0800\n"
10+
"POT-Creation-Date: 2025-04-11 00:15+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -240,8 +240,8 @@ msgid ""
240240
" v = i-10\n"
241241
" stdscr.addstr(i, 0, '10 divided by {} is {}'.format(v, 10/v))\n"
242242
"\n"
243-
" stdscr.refresh()\n"
244-
" stdscr.getkey()\n"
243+
" stdscr.refresh()\n"
244+
" stdscr.getkey()\n"
245245
"\n"
246246
"wrapper(main)"
247247
msgstr ""

library/contextlib.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-02-23 00:15+0000\n"
10+
"POT-Creation-Date: 2025-04-11 00:15+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:41+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -73,7 +73,7 @@ msgid ""
7373
"While many objects natively support use in with statements, sometimes a "
7474
"resource needs to be managed that isn't a context manager in its own right, "
7575
"and doesn't implement a ``close()`` method for use with ``contextlib."
76-
"closing``"
76+
"closing``."
7777
msgstr ""
7878

7979
#: ../../library/contextlib.rst:54

library/gzip.po

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2025-04-11 00:15+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:03+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -105,7 +105,7 @@ msgstr ""
105105
msgid "Added support for the ``'x'``, ``'xb'`` and ``'xt'`` modes."
106106
msgstr "新增 ``'x'``、``'xb'`` 和 ``'xt'`` 模式的支援。"
107107

108-
#: ../../library/gzip.rst:59 ../../library/gzip.rst:175
108+
#: ../../library/gzip.rst:59 ../../library/gzip.rst:173
109109
msgid "Accepts a :term:`path-like object`."
110110
msgstr "接受\\ :term:`類路徑物件 <path-like object>`。"
111111

@@ -201,90 +201,89 @@ msgstr ":class:`GzipFile` 也提供了以下的方法和屬性:"
201201

202202
#: ../../library/gzip.rst:124
203203
msgid ""
204-
"Read *n* uncompressed bytes without advancing the file position. At most one "
205-
"single read on the compressed stream is done to satisfy the call. The "
206-
"number of bytes returned may be more or less than requested."
204+
"Read *n* uncompressed bytes without advancing the file position. The number "
205+
"of bytes returned may be more or less than requested."
207206
msgstr ""
208207

209-
#: ../../library/gzip.rst:129
208+
#: ../../library/gzip.rst:127
210209
msgid ""
211210
"While calling :meth:`peek` does not change the file position of the :class:"
212211
"`GzipFile`, it may change the position of the underlying file object (e.g. "
213212
"if the :class:`GzipFile` was constructed with the *fileobj* parameter)."
214213
msgstr ""
215214

216-
#: ../../library/gzip.rst:138
215+
#: ../../library/gzip.rst:136
217216
msgid "``'rb'`` for reading and ``'wb'`` for writing."
218217
msgstr ""
219218

220-
#: ../../library/gzip.rst:140
219+
#: ../../library/gzip.rst:138
221220
msgid "In previous versions it was an integer ``1`` or ``2``."
222221
msgstr ""
223222

224-
#: ../../library/gzip.rst:145
223+
#: ../../library/gzip.rst:143
225224
msgid ""
226225
"When decompressing, this attribute is set to the last timestamp in the most "
227226
"recently read header. It is an integer, holding the number of seconds since "
228227
"the Unix epoch (00:00:00 UTC, January 1, 1970). The initial value before "
229228
"reading any headers is ``None``."
230229
msgstr ""
231230

232-
#: ../../library/gzip.rst:152
231+
#: ../../library/gzip.rst:150
233232
msgid ""
234233
"The path to the gzip file on disk, as a :class:`str` or :class:`bytes`. "
235234
"Equivalent to the output of :func:`os.fspath` on the original input path, "
236235
"with no other normalization, resolution or expansion."
237236
msgstr ""
238237

239-
#: ../../library/gzip.rst:156
238+
#: ../../library/gzip.rst:154
240239
msgid ""
241240
"Support for the :keyword:`with` statement was added, along with the *mtime* "
242241
"constructor argument and :attr:`mtime` attribute."
243242
msgstr ""
244243

245-
#: ../../library/gzip.rst:160
244+
#: ../../library/gzip.rst:158
246245
msgid "Support for zero-padded and unseekable files was added."
247246
msgstr ""
248247

249-
#: ../../library/gzip.rst:163
248+
#: ../../library/gzip.rst:161
250249
msgid "The :meth:`io.BufferedIOBase.read1` method is now implemented."
251250
msgstr ":meth:`io.BufferedIOBase.read1` 方法現在已有實作。"
252251

253-
#: ../../library/gzip.rst:166
252+
#: ../../library/gzip.rst:164
254253
msgid "Added support for the ``'x'`` and ``'xb'`` modes."
255254
msgstr "新增 ``'x'`` 和 ``'xb'`` 模式的支援。"
256255

257-
#: ../../library/gzip.rst:169
256+
#: ../../library/gzip.rst:167
258257
msgid ""
259258
"Added support for writing arbitrary :term:`bytes-like objects <bytes-like "
260259
"object>`. The :meth:`~io.BufferedIOBase.read` method now accepts an argument "
261260
"of ``None``."
262261
msgstr ""
263262

264-
#: ../../library/gzip.rst:178
263+
#: ../../library/gzip.rst:176
265264
msgid ""
266265
"Opening :class:`GzipFile` for writing without specifying the *mode* argument "
267266
"is deprecated."
268267
msgstr ""
269268

270-
#: ../../library/gzip.rst:182
269+
#: ../../library/gzip.rst:180
271270
msgid ""
272271
"Remove the ``filename`` attribute, use the :attr:`~GzipFile.name` attribute "
273272
"instead."
274273
msgstr ""
275274

276-
#: ../../library/gzip.rst:189
275+
#: ../../library/gzip.rst:187
277276
msgid ""
278277
"Compress the *data*, returning a :class:`bytes` object containing the "
279278
"compressed data. *compresslevel* and *mtime* have the same meaning as in "
280279
"the :class:`GzipFile` constructor above."
281280
msgstr ""
282281

283-
#: ../../library/gzip.rst:194
282+
#: ../../library/gzip.rst:192
284283
msgid "Added the *mtime* parameter for reproducible output."
285284
msgstr ""
286285

287-
#: ../../library/gzip.rst:196
286+
#: ../../library/gzip.rst:194
288287
msgid ""
289288
"Speed is improved by compressing all data at once instead of in a streamed "
290289
"fashion. Calls with *mtime* set to ``0`` are delegated to :func:`zlib."
@@ -293,13 +292,13 @@ msgid ""
293292
"underlying zlib implementation."
294293
msgstr ""
295294

296-
#: ../../library/gzip.rst:203
295+
#: ../../library/gzip.rst:201
297296
msgid ""
298297
"The gzip header OS byte is guaranteed to be set to 255 when this function is "
299298
"used as was the case in 3.10 and earlier."
300299
msgstr ""
301300

302-
#: ../../library/gzip.rst:209
301+
#: ../../library/gzip.rst:207
303302
msgid ""
304303
"Decompress the *data*, returning a :class:`bytes` object containing the "
305304
"uncompressed data. This function is capable of decompressing multi-member "
@@ -308,21 +307,21 @@ msgid ""
308307
"*wbits* set to 31 is faster."
309308
msgstr ""
310309

311-
#: ../../library/gzip.rst:216
310+
#: ../../library/gzip.rst:214
312311
msgid ""
313312
"Speed is improved by decompressing members at once in memory instead of in a "
314313
"streamed fashion."
315314
msgstr ""
316315

317-
#: ../../library/gzip.rst:223
316+
#: ../../library/gzip.rst:221
318317
msgid "Examples of usage"
319318
msgstr "用法範例"
320319

321-
#: ../../library/gzip.rst:225
320+
#: ../../library/gzip.rst:223
322321
msgid "Example of how to read a compressed file::"
323322
msgstr "如何讀取壓縮檔案的範例: ::"
324323

325-
#: ../../library/gzip.rst:227
324+
#: ../../library/gzip.rst:225
326325
msgid ""
327326
"import gzip\n"
328327
"with gzip.open('/home/joe/file.txt.gz', 'rb') as f:\n"
@@ -332,11 +331,11 @@ msgstr ""
332331
"with gzip.open('/home/joe/file.txt.gz', 'rb') as f:\n"
333332
" file_content = f.read()"
334333

335-
#: ../../library/gzip.rst:231
334+
#: ../../library/gzip.rst:229
336335
msgid "Example of how to create a compressed GZIP file::"
337336
msgstr "如何建立一個壓縮的 GZIP 檔案的範例: ::"
338337

339-
#: ../../library/gzip.rst:233
338+
#: ../../library/gzip.rst:231
340339
msgid ""
341340
"import gzip\n"
342341
"content = b\"Lots of content here\"\n"
@@ -348,11 +347,11 @@ msgstr ""
348347
"with gzip.open('/home/joe/file.txt.gz', 'wb') as f:\n"
349348
" f.write(content)"
350349

351-
#: ../../library/gzip.rst:238
350+
#: ../../library/gzip.rst:236
352351
msgid "Example of how to GZIP compress an existing file::"
353352
msgstr "如何壓縮一個已存在的檔案的範例: ::"
354353

355-
#: ../../library/gzip.rst:240
354+
#: ../../library/gzip.rst:238
356355
msgid ""
357356
"import gzip\n"
358357
"import shutil\n"
@@ -366,11 +365,11 @@ msgstr ""
366365
" with gzip.open('/home/joe/file.txt.gz', 'wb') as f_out:\n"
367366
" shutil.copyfileobj(f_in, f_out)"
368367

369-
#: ../../library/gzip.rst:246
368+
#: ../../library/gzip.rst:244
370369
msgid "Example of how to GZIP compress a binary string::"
371370
msgstr "如何壓縮一個二進位字串的範例: ::"
372371

373-
#: ../../library/gzip.rst:248
372+
#: ../../library/gzip.rst:246
374373
msgid ""
375374
"import gzip\n"
376375
"s_in = b\"Lots of content here\"\n"
@@ -380,56 +379,56 @@ msgstr ""
380379
"s_in = b\"Lots of content here\"\n"
381380
"s_out = gzip.compress(s_in)"
382381

383-
#: ../../library/gzip.rst:254
382+
#: ../../library/gzip.rst:252
384383
msgid "Module :mod:`zlib`"
385384
msgstr ":mod:`zlib` 模組"
386385

387-
#: ../../library/gzip.rst:255
386+
#: ../../library/gzip.rst:253
388387
msgid ""
389388
"The basic data compression module needed to support the :program:`gzip` file "
390389
"format."
391390
msgstr ""
392391

393-
#: ../../library/gzip.rst:264
392+
#: ../../library/gzip.rst:262
394393
msgid "Command Line Interface"
395394
msgstr "命令列介面"
396395

397-
#: ../../library/gzip.rst:266
396+
#: ../../library/gzip.rst:264
398397
msgid ""
399398
"The :mod:`gzip` module provides a simple command line interface to compress "
400399
"or decompress files."
401400
msgstr ""
402401

403-
#: ../../library/gzip.rst:269
402+
#: ../../library/gzip.rst:267
404403
msgid "Once executed the :mod:`gzip` module keeps the input file(s)."
405404
msgstr ""
406405

407-
#: ../../library/gzip.rst:273
406+
#: ../../library/gzip.rst:271
408407
msgid ""
409408
"Add a new command line interface with a usage. By default, when you will "
410409
"execute the CLI, the default compression level is 6."
411410
msgstr ""
412411

413-
#: ../../library/gzip.rst:277
412+
#: ../../library/gzip.rst:275
414413
msgid "Command line options"
415414
msgstr "命令列選項"
416415

417-
#: ../../library/gzip.rst:281
416+
#: ../../library/gzip.rst:279
418417
msgid "If *file* is not specified, read from :data:`sys.stdin`."
419418
msgstr "如果未指定 *file*,則從 :data:`sys.stdin` 讀取。"
420419

421-
#: ../../library/gzip.rst:285
420+
#: ../../library/gzip.rst:283
422421
msgid "Indicates the fastest compression method (less compression)."
423422
msgstr ""
424423

425-
#: ../../library/gzip.rst:289
424+
#: ../../library/gzip.rst:287
426425
msgid "Indicates the slowest compression method (best compression)."
427426
msgstr ""
428427

429-
#: ../../library/gzip.rst:293
428+
#: ../../library/gzip.rst:291
430429
msgid "Decompress the given file."
431430
msgstr "解壓縮指定的檔案。"
432431

433-
#: ../../library/gzip.rst:297
432+
#: ../../library/gzip.rst:295
434433
msgid "Show the help message."
435434
msgstr "顯示幫助訊息。"

0 commit comments

Comments
 (0)