| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ab86cdd commit 278abcb
17 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-06-02 00:16+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-06-19 16:29+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -529,11 +529,11 @@ msgid "" | |||
| 529 | 529 | "func:`PyBytesWriter_GetData`. This function does not overallocate." | |
| 530 | 530 | msgstr "" | |
| 531 | 531 | ||
| 532 | - #: ../../c-api/bytes.rst:313 ../../c-api/bytes.rst:438 | ||
| 532 | + #: ../../c-api/bytes.rst:313 ../../c-api/bytes.rst:442 | ||
| 533 | 533 | msgid "On error, set an exception and return ``NULL``." | |
| 534 | 534 | msgstr "" | |
| 535 | 535 | ||
| 536 | - #: ../../c-api/bytes.rst:315 ../../c-api/bytes.rst:414 | ||
| 536 | + #: ../../c-api/bytes.rst:315 ../../c-api/bytes.rst:418 | ||
| 537 | 537 | msgid "*size* must be positive or zero." | |
| 538 | 538 | msgstr "" | |
| 539 | 539 | ||
@@ -572,7 +572,7 @@ msgid "" | |||
| 572 | 572 | "internal buffer bounds." | |
| 573 | 573 | msgstr "" | |
| 574 | 574 | ||
| 575 | - #: ../../c-api/bytes.rst:341 ../../c-api/bytes.rst:442 | ||
| 575 | + #: ../../c-api/bytes.rst:341 ../../c-api/bytes.rst:446 | ||
| 576 | 576 | msgid "Function pseudo-code::" | |
| 577 | 577 | msgstr "" | |
| 578 | 578 | ||
@@ -614,7 +614,7 @@ msgid "" | |||
| 614 | 614 | msgstr "" | |
| 615 | 615 | ||
| 616 | 616 | #: ../../c-api/bytes.rst:367 ../../c-api/bytes.rst:376 | |
| 617 | - #: ../../c-api/bytes.rst:411 ../../c-api/bytes.rst:424 | ||
| 617 | + #: ../../c-api/bytes.rst:415 ../../c-api/bytes.rst:428 | ||
| 618 | 618 | msgid "On success, return ``0``. On error, set an exception and return ``-1``." | |
| 619 | 619 | msgstr "" | |
| 620 | 620 | ||
@@ -633,62 +633,69 @@ msgstr "" | |||
| 633 | 633 | msgid "Get the writer size." | |
| 634 | 634 | msgstr "" | |
| 635 | 635 | ||
| 636 | - #: ../../c-api/bytes.rst:387 ../../c-api/bytes.rst:396 | ||
| 636 | + #: ../../c-api/bytes.rst:387 | ||
| 637 | + msgid "" | ||
| 638 | + "The function does not invalidate pointers returned by :c:func:" | ||
| 639 | + "`PyBytesWriter_GetData`." | ||
| 640 | + msgstr "" | ||
| 641 | + | ||
| 642 | + #: ../../c-api/bytes.rst:390 ../../c-api/bytes.rst:400 | ||
| 637 | 643 | msgid "The function cannot fail." | |
| 638 | 644 | msgstr "" | |
| 639 | 645 | ||
| 640 | - #: ../../c-api/bytes.rst:391 | ||
| 646 | + #: ../../c-api/bytes.rst:394 | ||
| 641 | 647 | msgid "Get the writer data: start of the internal buffer." | |
| 642 | 648 | msgstr "" | |
| 643 | 649 | ||
| 644 | - #: ../../c-api/bytes.rst:393 | ||
| 650 | + #: ../../c-api/bytes.rst:396 | ||
| 645 | 651 | msgid "" | |
| 646 | - "The pointer is valid until :c:func:`PyBytesWriter_Finish` or :c:func:" | ||
| 647 | - "`PyBytesWriter_Discard` is called on *writer*." | ||
| 652 | + "The pointer remains valid until a :c:type:`PyBytesWriter` function other " | ||
| 653 | + "than :c:func:`PyBytesWriter_GetData` or :c:func:`PyBytesWriter_GetSize` is " | ||
| 654 | + "called on *writer*." | ||
| 648 | 655 | msgstr "" | |
| 649 | 656 | ||
| 650 | - #: ../../c-api/bytes.rst:400 | ||
| 657 | + #: ../../c-api/bytes.rst:404 | ||
| 651 | 658 | msgid "Low-level API" | |
| 652 | 659 | msgstr "低レベルAPI" | |
| 653 | 660 | ||
| 654 | - #: ../../c-api/bytes.rst:404 | ||
| 661 | + #: ../../c-api/bytes.rst:408 | ||
| 655 | 662 | msgid "" | |
| 656 | 663 | "Resize the writer to *size* bytes. It can be used to enlarge or to shrink " | |
| 657 | 664 | "the writer. This function typically overallocates to achieve amortized " | |
| 658 | 665 | "performance when resizing multiple times." | |
| 659 | 666 | msgstr "" | |
| 660 | 667 | ||
| 661 | - #: ../../c-api/bytes.rst:409 ../../c-api/bytes.rst:422 | ||
| 668 | + #: ../../c-api/bytes.rst:413 ../../c-api/bytes.rst:426 | ||
| 662 | 669 | msgid "Newly allocated bytes are left uninitialized." | |
| 663 | 670 | msgstr "" | |
| 664 | 671 | ||
| 665 | - #: ../../c-api/bytes.rst:418 | ||
| 672 | + #: ../../c-api/bytes.rst:422 | ||
| 666 | 673 | msgid "" | |
| 667 | 674 | "Resize the writer by adding *grow* bytes to the current writer size. This " | |
| 668 | 675 | "function typically overallocates to achieve amortized performance when " | |
| 669 | 676 | "resizing multiple times." | |
| 670 | 677 | msgstr "" | |
| 671 | 678 | ||
| 672 | - #: ../../c-api/bytes.rst:427 | ||
| 679 | + #: ../../c-api/bytes.rst:431 | ||
| 673 | 680 | msgid "*size* can be negative to shrink the writer." | |
| 674 | 681 | msgstr "" | |
| 675 | 682 | ||
| 676 | - #: ../../c-api/bytes.rst:431 | ||
| 683 | + #: ../../c-api/bytes.rst:435 | ||
| 677 | 684 | msgid "" | |
| 678 | 685 | "Similar to :c:func:`PyBytesWriter_Grow`, but update also the *buf* pointer." | |
| 679 | 686 | msgstr "" | |
| 680 | 687 | ||
| 681 | - #: ../../c-api/bytes.rst:434 | ||
| 688 | + #: ../../c-api/bytes.rst:438 | ||
| 682 | 689 | msgid "" | |
| 683 | 690 | "The *buf* pointer is moved if the internal buffer is moved in memory. The " | |
| 684 | 691 | "*buf* relative position within the internal buffer is left unchanged." | |
| 685 | 692 | msgstr "" | |
| 686 | 693 | ||
| 687 | - #: ../../c-api/bytes.rst:440 | ||
| 694 | + #: ../../c-api/bytes.rst:444 | ||
| 688 | 695 | msgid "*buf* must not be ``NULL``." | |
| 689 | 696 | msgstr "" | |
| 690 | 697 | ||
| 691 | - #: ../../c-api/bytes.rst:444 | ||
| 698 | + #: ../../c-api/bytes.rst:448 | ||
| 692 | 699 | msgid "" | |
| 693 | 700 | "Py_ssize_t pos = (char*)buf - (char*)PyBytesWriter_GetData(writer);\n" | |
| 694 | 701 | "if (PyBytesWriter_Grow(writer, size) < 0) {\n" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments