@@ -199,6 +199,9 @@ msgid ""
199
199
" possible values are covered in ``case`` statements. Use this in places "
200
200
"where you might be tempted to put an ``assert(0)`` or ``abort()`` call."
201
201
msgstr ""
202
+ "到達するはずがないと考えているコードパスがあるときに使います。\n"
203
+ "例えば、 ``case`` 節が全ての起こり得る値をカバーしている ``switch`` 文の ``default:`` 節です。\n"
204
+ "``assert(0)`` や ``abort()`` の呼び出しを置きたくなる場所で使ってください。"
202
205
203
206
#: ../../c-api/intro.rst:113
204
207
msgid "Return the absolute value of ``x``."
@@ -222,25 +225,31 @@ msgstr ""
222
225
223
226
#: ../../c-api/intro.rst:138
224
227
msgid "Return the size of a structure (``type``) ``member`` in bytes."
225
- msgstr ""
228
+ msgstr "(``type``) 構造体の ``member`` のサイズをバイト単位で返します。 "
226
229
227
230
#: ../../c-api/intro.rst:144
228
231
msgid ""
229
232
"Argument must be a character or an integer in the range [-128, 127] or [0, "
230
233
"255]. This macro returns ``c`` cast to an ``unsigned char``."
231
234
msgstr ""
235
+ "引数は文字か、[-128, 127] あるいは [0, 255] の範囲の整数でなければなりません。\n"
236
+ "このマクロは ``符号なし文字`` にキャストした ``c`` を返します。"
232
237
233
238
#: ../../c-api/intro.rst:149
234
239
msgid ""
235
240
"Like ``getenv(s)``, but returns *NULL* if :option:`-E` was passed on the "
236
241
"command line (i.e. if ``Py_IgnoreEnvironmentFlag`` is set)."
237
242
msgstr ""
243
+ "``getenv(s)`` に似ていますが、コマンドラインで :option:`-E` が渡された場合 (つまり "
244
+ "``Py_IgnoreEnvironmentFlag`` が設定された場合) *NULL* を返します。"
238
245
239
246
#: ../../c-api/intro.rst:154
240
247
msgid ""
241
248
"Use this for unused arguments in a function definition to silence compiler "
242
249
"warnings, e.g. ``PyObject* func(PyObject *Py_UNUSED(ignored))``."
243
250
msgstr ""
251
+ "関数定義で使っていない引数のコンパイラ警告を黙らせるのに使います。例えば、 ``PyObject* func(PyObject "
252
+ "*Py_UNUSED(ignored))`` のように使います。"
244
253
245
254
#: ../../c-api/intro.rst:163
246
255
msgid "Objects, Types and Reference Counts"