@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-07-25 14:21 +0000\n "
14+ "POT-Creation-Date : 2025-10-15 14:16 +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/ "
@@ -101,7 +101,7 @@ msgstr "特に言及されていない場合、バッファーは NUL 終端さ
101101
102102#: ../../c-api/arg.rst:48
103103msgid "There are three ways strings and buffers can be converted to C:"
104- msgstr ""
104+ msgstr "文字列とバッファをCに変換する方法は3つあります: "
105105
106106#: ../../c-api/arg.rst:50
107107msgid ""
@@ -112,13 +112,22 @@ msgid ""
112112"call** :c:func:`PyBuffer_Release` after you have finished processing the "
113113"data (or in any early abort case)."
114114msgstr ""
115+ "形式としては ``y*`` そして ``s*`` 埋める :c:type:`Py_buffer` 構造体。これは"
116+ "ロックします 根底 バッファ これにより、呼び出し元はその後、バッファを内部でも"
117+ "使用できるようになります:c:type:`Py_BEGIN_ALLOW_THREADS` ブロック リスクなし"
118+ "に 可変 データが再サイズ化または破壊される。その結果、**電話をかけなければな"
119+ "らない** :c:func:`PyBuffer_Release` データ処理が完了した後(または早期終了の"
120+ "場合)。"
115121
116122#: ../../c-api/arg.rst:57
117123msgid ""
118124"The ``es``, ``es#``, ``et`` and ``et#`` formats allocate the result buffer. "
119125"**You have to call** :c:func:`PyMem_Free` after you have finished processing "
120126"the data (or in any early abort case)."
121127msgstr ""
128+ "その ``es``, ``es#``, ``et`` そして ``et#`` フォーマットは結果を割り当てます "
129+ "バッファ. **必ず電話をかけてください** :c:func:`PyMem_Free` データ処理が完了"
130+ "した後(または早期終了の場合)。"
122131
123132#: ../../c-api/arg.rst:63
124133msgid ""
@@ -128,6 +137,11 @@ msgid ""
128137"corresponding Python object, and shares the lifetime of this object. You "
129138"won't have to release any memory yourself."
130139msgstr ""
140+ "他の形式では :class:`str`または 読み出し専用 :term:`bytes-like オブジェクト"
141+ "`、例えば :class:`bytes`, および提供する ``const char *`` ポインタ その "
142+ "バッファ. この場合 バッファ「借用」されています:これは対応するPythonオブジェ"
143+ "クトによって管理され、このオブジェクトのライフサイクルを共有します。メモリを"
144+ "自分で解放する必要はありません。 "
131145
132146#: ../../c-api/arg.rst:70
133147msgid ""
@@ -136,13 +150,20 @@ msgid ""
136150"disallows common mutable objects such as :class:`bytearray`, but also some "
137151"read-only objects such as :class:`memoryview` of :class:`bytes`."
138152msgstr ""
153+ "以下のことを確実にするため 根底 バッファ 安全に借りることができます, 対象の :"
154+ "c:member:`PyBufferProcs.bf_releasebuffer` フィールドは必須です。 ``NULL``. こ"
155+ "れは一般的な 可変 次のようなオブジェクト :class:`bytearray`, また、いくつか"
156+ "の 読み出し専用 次のようなオブジェクト :class:`memoryview` の :class:`bytes`."
139157
140158#: ../../c-api/arg.rst:76
141159msgid ""
142160"Besides this ``bf_releasebuffer`` requirement, there is no check to verify "
143161"whether the input object is immutable (e.g. whether it would honor a request "
144162"for a writable buffer, or whether another thread can mutate the data)."
145163msgstr ""
164+ "これに加えて ``bf_releasebuffer`` 要件として、入力が有効かどうかを確認する"
165+ "チェックはありません 対象は 不変 (例:請求に応じるかどうか 書き込み可能 バッ"
166+ "ファ, または、別のスレッドがデータを変更できるかどうか)。"
146167
147168#: ../../c-api/arg.rst:80
148169msgid "``s`` (:class:`str`) [const char \\ *]"
@@ -219,6 +240,11 @@ msgid ""
219240"null bytes. Unicode objects are converted to C strings using ``'utf-8'`` "
220241"encoding."
221242msgstr ""
243+ "のように ``s*``, ただし、それは :ref:`借用された バッファ <c-arg-borrowed-"
244+ "buffer>`. 結果は2つのC変数に格納されます。最初の変数はC文字列へのポインター、"
245+ "2つ目の変数はその長さです。文字列には埋め込まれたヌルバイトが含まれる可能性が"
246+ "あります。Unicodeオブジェクトは、C文字列に変換されます ``'utf-8'`` エンコー"
247+ "ド。"
222248
223249#: ../../c-api/arg.rst:113 ../../c-api/arg.rst:614
224250msgid "``z`` (:class:`str` or ``None``) [const char \\ *]"
@@ -229,6 +255,8 @@ msgid ""
229255"Like ``s``, but the Python object may also be ``None``, in which case the C "
230256"pointer is set to ``NULL``."
231257msgstr ""
258+ "``s`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には "
259+ "C のポインタは ``NULL`` にセットされます。"
232260
233261#: ../../c-api/arg.rst:117
234262msgid ""
@@ -241,6 +269,9 @@ msgid ""
241269"Like ``s*``, but the Python object may also be ``None``, in which case the "
242270"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``."
243271msgstr ""
272+ "``s*`` と同じですが、 Python の ``None`` オブジェクトを受け取ることができま"
273+ "す。その場合、 :c:type:`Py_buffer` 構造体の ``buf`` メンバーは ``NULL`` にな"
274+ "ります。"
244275
245276#: ../../c-api/arg.rst:121
246277msgid ""
@@ -255,6 +286,8 @@ msgid ""
255286"Like ``s#``, but the Python object may also be ``None``, in which case the C "
256287"pointer is set to ``NULL``."
257288msgstr ""
289+ "``s#`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には "
290+ "C のポインタは ``NULL`` にセットされます。"
258291
259292#: ../../c-api/arg.rst:125
260293msgid "``y`` (read-only :term:`bytes-like object`) [const char \\ *]"
@@ -267,6 +300,10 @@ msgid ""
267300"objects. The bytes buffer must not contain embedded null bytes; if it does, "
268301"a :exc:`ValueError` exception is raised."
269302msgstr ""
303+ "この形式は bytes-like Cポインタへのオブジェクトへの参照を拒否する :ref:"
304+ "`borrowed <c-arg-borrowed-buffer>` 文字列; Unicode オブジェクトは受け付けませ"
305+ "ん。 バイトバッファには埋め込みのヌルバイトを含んではいけません。もし含まれて"
306+ "いる場合 :exc:`ValueError` 例外が発生します。"
270307
271308#: ../../c-api/arg.rst:132
272309msgid ""
@@ -729,6 +766,10 @@ msgid ""
729766"`strong reference` to the object is not created (i.e. its reference count is "
730767"not increased). The pointer stored is not ``NULL``."
731768msgstr ""
769+ "Python オブジェクトを(変換なしで)C オブジェクトのポインターに格納します。 "
770+ "これにより、C プログラムは渡された実際のオブジェクトを受け取ります。新しい :"
771+ "term: 強参照 オブジェクトが作成されていません (すなわち、その参照カウント 増"
772+ "加しません)。その ポインタ 保存されていない ``NULL``."
732773
733774#: ../../c-api/arg.rst:319
734775msgid "``O!`` (object) [*typeobject*, PyObject \\ *]"
@@ -928,6 +969,9 @@ msgid ""
928969"*borrowed* references; do not release them (i.e. do not decrement their "
929970"reference count)!"
930971msgstr ""
972+ "注意:呼び出し元に渡されるPythonオブジェクトの参照はすべて*借用*された参照で"
973+ "す。これらを解放しないでください(つまり、参照カウントを減らさないでくださ"
974+ "い)!"
931975
932976#: ../../c-api/arg.rst:419
933977msgid ""
@@ -1071,12 +1115,26 @@ msgid ""
10711115"a tuple or contains the wrong number of elements; an exception will be set "
10721116"if there was a failure."
10731117msgstr ""
1118+ "パラメーターの取得方法のよりシンプルな形式で、使用しないもの a 書式文字列 引"
1119+ "数の型を指定する 。関数 これを使用する メソッド 彼らの パラメータ 次のように"
1120+ "宣言する必要があります :c:macro:`METH_VARARGS` に 関数 にメソッド テーブル。"
1121+ "実際のパラメーターを含むタプルは *args* として渡す必要があります。必ずタプル"
1122+ "でなければなりません。タプルの長さは、*min*以上で*max*以下でなければなりませ"
1123+ "ん。*min*と*max*は等しい場合もあります。関数には追加の引数を渡す必要があり、"
1124+ "各引数はポインターでなければならない ~へ:c:expr:`PyObject*` 変数;これらは"
1125+ "*args*の値で埋められる;これらは:term:を含む:借用参照 <borrowed "
1126+ "reference>`. *args* で指定されていないオプションパラメーターに対応する変数は"
1127+ "初期化されません。これらの変数は呼び出し元で初期化する必要があります。これ 関"
1128+ "数 成功した場合にtrueを返し、*args*がタプルでない場合または要素の数が間違って"
1129+ "いる場合にfalseを返します。失敗した場合、例外が設定されます。"
10741130
10751131#: ../../c-api/arg.rst:529
10761132msgid ""
10771133"This is an example of the use of this function, taken from the sources for "
10781134"the :mod:`!_weakref` helper module for weak references::"
10791135msgstr ""
1136+ "これは、この関数の使用例で、ソースコードから抜粋したものです:mod:`!_weakref`"
1137+ "弱参照用のヘルパーモジュール:: "
10801138
10811139#: ../../c-api/arg.rst:532
10821140msgid ""
@@ -1200,6 +1258,7 @@ msgstr ""
12001258msgid ""
12011259"``s#`` (:class:`str` or ``None``) [const char \\ *, :c:type:`Py_ssize_t`]"
12021260msgstr ""
1261+ "``s#`` (:class:`str` or ``None``) [const char \\ *, :c:type:`Py_ssize_t`]"
12031262
12041263#: ../../c-api/arg.rst:602
12051264msgid ""
@@ -1225,7 +1284,7 @@ msgstr ""
12251284
12261285#: ../../c-api/arg.rst:610
12271286msgid "``y#`` (:class:`bytes`) [const char \\ *, :c:type:`Py_ssize_t`]"
1228- msgstr ""
1287+ msgstr "``y#`` (:class:`bytes`) [const char \\ *, :c:type:`Py_ssize_t`] "
12291288
12301289#: ../../c-api/arg.rst:611
12311290msgid ""
@@ -1396,6 +1455,12 @@ msgid ""
13961455"func:`Py_BuildValue` will return ``NULL`` but won't raise an exception. If "
13971456"no exception has been raised yet, :exc:`SystemError` is set."
13981457msgstr ""
1458+ "Python オブジェクトをそのまま渡すものの、それに対する新しい :term:`強参照` を"
1459+ "作成する(つまり、その参照カウントが1増加します)。渡されたオブジェクトが "
1460+ "``NULL`` ポインタ, この問題は、引数を生成する呼び出しがエラーを検出し、例外を"
1461+ "設定したため発生したものと推測されます。したがって、:c:func:`Py_BuildValue` "
1462+ "戻ってきます ``NULL`` しかし、そうはならない 送出 例外。 例外がまだ発生してい"
1463+ "ない場合、:exc:`SystemError` 設定されています。"
13991464
14001465#: ../../c-api/arg.rst:709
14011466msgid "``S`` (object) [PyObject \\ *]"
@@ -1415,6 +1480,9 @@ msgid ""
14151480"Useful when the object is created by a call to an object constructor in the "
14161481"argument list."
14171482msgstr ""
1483+ "同じです ``O``, ただし、新しい :term:`強参照` を作成しません。オブジェクトが"
1484+ "引数リスト内のオブジェクトコンストラクターの呼び出しによって作成される場合に"
1485+ "便利です。"
14181486
14191487#: ../../c-api/arg.rst:717
14201488msgid "``O&`` (object) [*converter*, *anything*]"
0 commit comments