@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"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 "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2026\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -529,11 +529,11 @@ msgid ""
529529"func:`PyBytesWriter_GetData`. This function does not overallocate."
530530msgstr ""
531531
532- #: ../../c-api/bytes.rst:313 ../../c-api/bytes.rst:438
532+ #: ../../c-api/bytes.rst:313 ../../c-api/bytes.rst:442
533533msgid "On error, set an exception and return ``NULL``."
534534msgstr ""
535535
536- #: ../../c-api/bytes.rst:315 ../../c-api/bytes.rst:414
536+ #: ../../c-api/bytes.rst:315 ../../c-api/bytes.rst:418
537537msgid "*size* must be positive or zero."
538538msgstr ""
539539
@@ -572,7 +572,7 @@ msgid ""
572572"internal buffer bounds."
573573msgstr ""
574574
575- #: ../../c-api/bytes.rst:341 ../../c-api/bytes.rst:442
575+ #: ../../c-api/bytes.rst:341 ../../c-api/bytes.rst:446
576576msgid "Function pseudo-code::"
577577msgstr ""
578578
@@ -614,7 +614,7 @@ msgid ""
614614msgstr ""
615615
616616#: ../../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
618618msgid "On success, return ``0``. On error, set an exception and return ``-1``."
619619msgstr ""
620620
@@ -633,62 +633,69 @@ msgstr ""
633633msgid "Get the writer size."
634634msgstr ""
635635
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
637643msgid "The function cannot fail."
638644msgstr ""
639645
640- #: ../../c-api/bytes.rst:391
646+ #: ../../c-api/bytes.rst:394
641647msgid "Get the writer data: start of the internal buffer."
642648msgstr ""
643649
644- #: ../../c-api/bytes.rst:393
650+ #: ../../c-api/bytes.rst:396
645651msgid ""
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*."
648655msgstr ""
649656
650- #: ../../c-api/bytes.rst:400
657+ #: ../../c-api/bytes.rst:404
651658msgid "Low-level API"
652659msgstr "低レベルAPI"
653660
654- #: ../../c-api/bytes.rst:404
661+ #: ../../c-api/bytes.rst:408
655662msgid ""
656663"Resize the writer to *size* bytes. It can be used to enlarge or to shrink "
657664"the writer. This function typically overallocates to achieve amortized "
658665"performance when resizing multiple times."
659666msgstr ""
660667
661- #: ../../c-api/bytes.rst:409 ../../c-api/bytes.rst:422
668+ #: ../../c-api/bytes.rst:413 ../../c-api/bytes.rst:426
662669msgid "Newly allocated bytes are left uninitialized."
663670msgstr ""
664671
665- #: ../../c-api/bytes.rst:418
672+ #: ../../c-api/bytes.rst:422
666673msgid ""
667674"Resize the writer by adding *grow* bytes to the current writer size. This "
668675"function typically overallocates to achieve amortized performance when "
669676"resizing multiple times."
670677msgstr ""
671678
672- #: ../../c-api/bytes.rst:427
679+ #: ../../c-api/bytes.rst:431
673680msgid "*size* can be negative to shrink the writer."
674681msgstr ""
675682
676- #: ../../c-api/bytes.rst:431
683+ #: ../../c-api/bytes.rst:435
677684msgid ""
678685"Similar to :c:func:`PyBytesWriter_Grow`, but update also the *buf* pointer."
679686msgstr ""
680687
681- #: ../../c-api/bytes.rst:434
688+ #: ../../c-api/bytes.rst:438
682689msgid ""
683690"The *buf* pointer is moved if the internal buffer is moved in memory. The "
684691"*buf* relative position within the internal buffer is left unchanged."
685692msgstr ""
686693
687- #: ../../c-api/bytes.rst:440
694+ #: ../../c-api/bytes.rst:444
688695msgid "*buf* must not be ``NULL``."
689696msgstr ""
690697
691- #: ../../c-api/bytes.rst:444
698+ #: ../../c-api/bytes.rst:448
692699msgid ""
693700"Py_ssize_t pos = (char*)buf - (char*)PyBytesWriter_GetData(writer);\n"
694701"if (PyBytesWriter_Grow(writer, size) < 0) {\n"
0 commit comments