Skip to content

Commit f369aec

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 21f4e6d6
1 parent ec2ea2d commit f369aec

File tree

3 files changed

+662
-608
lines changed

3 files changed

+662
-608
lines changed

library/itertools.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-09-04 16:14+0000\n"
10+
"POT-Creation-Date: 2023-09-13 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -889,6 +889,6 @@ msgid ""
889889
"term:`generator`\\s which incur interpreter overhead."
890890
msgstr ""
891891

892-
#: ../../library/itertools.rst:1021
892+
#: ../../library/itertools.rst:1022
893893
msgid "The following recipes have a more mathematical flavor:"
894894
msgstr ""

library/zipapp.po

+13-21
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
10+
"POT-Creation-Date: 2023-09-13 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:16+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -357,25 +357,17 @@ msgid ""
357357
msgstr ""
358358

359359
#: ../../library/zipapp.rst:284
360-
msgid ""
361-
"Optionally, delete the ``.dist-info`` directories created by pip in the "
362-
"``myapp`` directory. These hold metadata for pip to manage the packages, and "
363-
"as you won't be making any further use of pip they aren't required - "
364-
"although it won't do any harm if you leave them."
365-
msgstr ""
366-
367-
#: ../../library/zipapp.rst:289
368360
msgid "Package the application using:"
369361
msgstr ""
370362

371-
#: ../../library/zipapp.rst:295
363+
#: ../../library/zipapp.rst:290
372364
msgid ""
373365
"This will produce a standalone executable, which can be run on any machine "
374366
"with the appropriate interpreter available. See :ref:`zipapp-specifying-the-"
375367
"interpreter` for details. It can be shipped to users as a single file."
376368
msgstr ""
377369

378-
#: ../../library/zipapp.rst:299
370+
#: ../../library/zipapp.rst:294
379371
msgid ""
380372
"On Unix, the ``myapp.pyz`` file is executable as it stands. You can rename "
381373
"the file to remove the ``.pyz`` extension if you prefer a \"plain\" command "
@@ -384,11 +376,11 @@ msgid ""
384376
"extensions when installed."
385377
msgstr ""
386378

387-
#: ../../library/zipapp.rst:307
379+
#: ../../library/zipapp.rst:302
388380
msgid "Caveats"
389381
msgstr ""
390382

391-
#: ../../library/zipapp.rst:309
383+
#: ../../library/zipapp.rst:304
392384
msgid ""
393385
"If your application depends on a package that includes a C extension, that "
394386
"package cannot be run from a zip file (this is an OS limitation, as "
@@ -402,11 +394,11 @@ msgid ""
402394
"based on the user's machine)."
403395
msgstr ""
404396

405-
#: ../../library/zipapp.rst:321
397+
#: ../../library/zipapp.rst:316
406398
msgid "The Python Zip Application Archive Format"
407399
msgstr ""
408400

409-
#: ../../library/zipapp.rst:323
401+
#: ../../library/zipapp.rst:318
410402
msgid ""
411403
"Python has been able to execute zip files which contain a ``__main__.py`` "
412404
"file since version 2.6. In order to be executed by Python, an application "
@@ -417,18 +409,18 @@ msgid ""
417409
"the zip file."
418410
msgstr ""
419411

420-
#: ../../library/zipapp.rst:330
412+
#: ../../library/zipapp.rst:325
421413
msgid ""
422414
"The zip file format allows arbitrary data to be prepended to a zip file. "
423415
"The zip application format uses this ability to prepend a standard POSIX "
424416
"\"shebang\" line to the file (``#!/path/to/interpreter``)."
425417
msgstr ""
426418

427-
#: ../../library/zipapp.rst:334
419+
#: ../../library/zipapp.rst:329
428420
msgid "Formally, the Python zip application format is therefore:"
429421
msgstr ""
430422

431-
#: ../../library/zipapp.rst:336
423+
#: ../../library/zipapp.rst:331
432424
msgid ""
433425
"An optional shebang line, containing the characters ``b'#!'`` followed by an "
434426
"interpreter name, and then a newline (``b'\\n'``) character. The "
@@ -438,21 +430,21 @@ msgid ""
438430
"POSIX."
439431
msgstr ""
440432

441-
#: ../../library/zipapp.rst:341
433+
#: ../../library/zipapp.rst:336
442434
msgid ""
443435
"Standard zipfile data, as generated by the :mod:`zipfile` module. The "
444436
"zipfile content *must* include a file called ``__main__.py`` (which must be "
445437
"in the \"root\" of the zipfile - i.e., it cannot be in a subdirectory). The "
446438
"zipfile data can be compressed or uncompressed."
447439
msgstr ""
448440

449-
#: ../../library/zipapp.rst:346
441+
#: ../../library/zipapp.rst:341
450442
msgid ""
451443
"If an application archive has a shebang line, it may have the executable bit "
452444
"set on POSIX systems, to allow it to be executed directly."
453445
msgstr ""
454446

455-
#: ../../library/zipapp.rst:349
447+
#: ../../library/zipapp.rst:344
456448
msgid ""
457449
"There is no requirement that the tools in this module are used to create "
458450
"application archives - the module is a convenience, but archives in the "

0 commit comments

Comments
 (0)