@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-03-21 14:21 +0000\n "
14+ "POT-Creation-Date : 2026-03-27 14:44 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -279,15 +279,21 @@ msgid ""
279279"protocol."
280280msgstr "バッファプロトコルを実装するオブジェクト *o* のバイト表現を返します。"
281281
282- #: ../../c-api/bytes.rst:129
282+ #: ../../c-api/bytes.rst:127
283+ msgid ""
284+ "If the object implements the buffer protocol, then the buffer must not be "
285+ "mutated while the bytes object is being created."
286+ msgstr ""
287+
288+ #: ../../c-api/bytes.rst:133
283289msgid "Return the length of the bytes in bytes object *o*."
284290msgstr "バイトオブジェクト *o* のバイト単位の長さを返します。"
285291
286- #: ../../c-api/bytes.rst:134
292+ #: ../../c-api/bytes.rst:138
287293msgid "Similar to :c:func:`PyBytes_Size`, but without error checking."
288294msgstr ":c:func:`PyBytes_Size` に似ていますが、エラーチェックを行いません。"
289295
290- #: ../../c-api/bytes.rst:139
296+ #: ../../c-api/bytes.rst:143
291297msgid ""
292298"Return a pointer to the contents of *o*. The pointer refers to the internal "
293299"buffer of *o*, which consists of ``len(o) + 1`` bytes. The last byte in the "
@@ -307,18 +313,18 @@ msgstr ""
307313"もし、 *o* が bytes オブジェクトでなければ、 :c:func:`PyBytes_AsString` は "
308314"``NULL`` を返し :exc:`TypeError` を送出します。"
309315
310- #: ../../c-api/bytes.rst:151
316+ #: ../../c-api/bytes.rst:155
311317msgid "Similar to :c:func:`PyBytes_AsString`, but without error checking."
312318msgstr ""
313319":c:func:`PyBytes_AsString` に似ていますが、エラーチェックを行いません。"
314320
315- #: ../../c-api/bytes.rst:156
321+ #: ../../c-api/bytes.rst:160
316322msgid ""
317323"Return the null-terminated contents of the object *obj* through the output "
318324"variables *buffer* and *length*. Returns ``0`` on success."
319325msgstr ""
320326
321- #: ../../c-api/bytes.rst:160
327+ #: ../../c-api/bytes.rst:164
322328msgid ""
323329"If *length* is ``NULL``, the bytes object may not contain embedded null "
324330"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
@@ -328,7 +334,7 @@ msgstr ""
328334"可能性があります。その場合、関数は ``-1`` を返し、 :exc:`ValueError` を送出し"
329335"ます。"
330336
331- #: ../../c-api/bytes.rst:164
337+ #: ../../c-api/bytes.rst:168
332338msgid ""
333339"The buffer refers to an internal buffer of *obj*, which includes an "
334340"additional null byte at the end (not counted in *length*). The data must "
@@ -345,15 +351,15 @@ msgstr ""
345351"*obj* が bytes オブジェクトでなかった場合は、 :c:func:"
346352"`PyBytes_AsStringAndSize` は ``-1`` を返し :exc:`TypeError` を送出します。"
347353
348- #: ../../c-api/bytes.rst:171
354+ #: ../../c-api/bytes.rst:175
349355msgid ""
350356"Previously, :exc:`TypeError` was raised when embedded null bytes were "
351357"encountered in the bytes object."
352358msgstr ""
353359"以前は bytes オブジェクトにヌルバイトが埋め込まれていたときに :exc:"
354360"`TypeError` を送出していました。"
355361
356- #: ../../c-api/bytes.rst:178
362+ #: ../../c-api/bytes.rst:182
357363msgid ""
358364"Create a new bytes object in *\\ *bytes* containing the contents of *newpart* "
359365"appended to *bytes*; the caller will own the new reference. The reference "
@@ -367,37 +373,49 @@ msgstr ""
367373"もし新しいオブジェクトが生成できない場合、古い *bytes* の参照は放棄され、 "
368374"*\\ *bytes* の値は ``NULL`` に設定されます; 適切な例外が設定されます。"
369375
370- #: ../../c-api/bytes.rst:187
376+ #: ../../c-api/bytes.rst:189 ../../c-api/bytes.rst:199
377+ msgid ""
378+ "If *newpart* implements the buffer protocol, then the buffer must not be "
379+ "mutated while the new bytes object is being created."
380+ msgstr ""
381+
382+ #: ../../c-api/bytes.rst:194
371383msgid ""
372384"Create a new bytes object in *\\ *bytes* containing the contents of *newpart* "
373385"appended to *bytes*. This version releases the :term:`strong reference` to "
374386"*newpart* (i.e. decrements its reference count)."
375387msgstr ""
376388
377- #: ../../c-api/bytes.rst:194
389+ #: ../../c-api/bytes.rst:205
378390msgid "Similar to ``sep.join(iterable)`` in Python."
379391msgstr ""
380392
381- #: ../../c-api/bytes.rst:196
393+ #: ../../c-api/bytes.rst:207
382394msgid ""
383395"*sep* must be Python :class:`bytes` object. (Note that :c:func:"
384396"`PyUnicode_Join` accepts ``NULL`` separator and treats it as a space, "
385397"whereas :c:func:`PyBytes_Join` doesn't accept ``NULL`` separator.)"
386398msgstr ""
387399
388- #: ../../c-api/bytes.rst:201
400+ #: ../../c-api/bytes.rst:212
389401msgid ""
390402"*iterable* must be an iterable object yielding objects that implement the :"
391403"ref:`buffer protocol <bufferobjects>`."
392404msgstr ""
393405
394- #: ../../c-api/bytes.rst:204
406+ #: ../../c-api/bytes.rst:215
395407msgid ""
396408"On success, return a new :class:`bytes` object. On error, set an exception "
397409"and return ``NULL``."
398410msgstr ""
399411
400- #: ../../c-api/bytes.rst:212
412+ #: ../../c-api/bytes.rst:221
413+ msgid ""
414+ "If *iterable* objects implement the buffer protocol, then the buffers must "
415+ "not be mutated while the new bytes object is being created."
416+ msgstr ""
417+
418+ #: ../../c-api/bytes.rst:226
401419msgid ""
402420"Resize a bytes object. *newsize* will be the new length of the bytes object. "
403421"You can think of it as creating a new bytes object and destroying the old "
@@ -409,19 +427,19 @@ msgid ""
409427"``NULL``, :exc:`MemoryError` is set, and ``-1`` is returned."
410428msgstr ""
411429
412- #: ../../c-api/bytes.rst:226
430+ #: ../../c-api/bytes.rst:240
413431msgid ""
414432"Get the string representation of *bytes*. This function is currently used to "
415433"implement :meth:`!bytes.__repr__` in Python."
416434msgstr ""
417435
418- #: ../../c-api/bytes.rst:229
436+ #: ../../c-api/bytes.rst:243
419437msgid ""
420438"This function does not do type checking; it is undefined behavior to pass "
421439"*bytes* as a non-bytes object or ``NULL``."
422440msgstr ""
423441
424- #: ../../c-api/bytes.rst:232
442+ #: ../../c-api/bytes.rst:246
425443msgid ""
426444"If *smartquotes* is true, the representation will use a double-quoted string "
427445"instead of single-quoted string when single-quotes are present in *bytes*. "
@@ -430,33 +448,33 @@ msgid ""
430448"is false."
431449msgstr ""
432450
433- #: ../../c-api/bytes.rst:238
451+ #: ../../c-api/bytes.rst:252
434452msgid ""
435453"On success, this function returns a :term:`strong reference` to a :class:"
436454"`str` object containing the representation. On failure, this returns "
437455"``NULL`` with an exception set."
438456msgstr ""
439457
440- #: ../../c-api/bytes.rst:245
458+ #: ../../c-api/bytes.rst:259
441459msgid ""
442460"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
443461"must be the size of *s*."
444462msgstr ""
445463
446- #: ../../c-api/bytes.rst:248
464+ #: ../../c-api/bytes.rst:262
447465msgid ""
448466"*errors* must be one of ``\" strict\" ``, ``\" replace\" ``, or ``\" ignore\" ``. "
449467"If *errors* is ``NULL``, then ``\" strict\" `` is used by default."
450468msgstr ""
451469
452- #: ../../c-api/bytes.rst:251
470+ #: ../../c-api/bytes.rst:265
453471msgid ""
454472"On success, this function returns a :term:`strong reference` to a Python :"
455473"class:`bytes` object containing the unescaped string. On failure, this "
456474"function returns ``NULL`` with an exception set."
457475msgstr ""
458476
459- #: ../../c-api/bytes.rst:255
477+ #: ../../c-api/bytes.rst:269
460478msgid "*unicode* and *recode_encoding* are now unused."
461479msgstr ""
462480
0 commit comments