@@ -84,11 +84,12 @@ msgstr ""
8484
8585#: ../../c-api/intro.rst:34
8686msgid "Language version compatibility"
87- msgstr ""
87+ msgstr "言語バージョン互換性 "
8888
8989#: ../../c-api/intro.rst:36
9090msgid "Python's C API is compatible with C11 and C++11 versions of C and C++."
9191msgstr ""
92+ "Pythonの C API は C11 や C++11 バージョンの C と C++ に互換性があります。"
9293
9394#: ../../c-api/intro.rst:38
9495msgid ""
@@ -132,6 +133,8 @@ msgid ""
132133"#define PY_SSIZE_T_CLEAN\n"
133134"#include <Python.h>"
134135msgstr ""
136+ "#define PY_SSIZE_T_CLEAN\n"
137+ "#include <Python.h>"
135138
136139#: ../../c-api/intro.rst:64
137140msgid ""
@@ -317,7 +320,7 @@ msgstr ""
317320
318321#: ../../c-api/intro.rst:166
319322msgid "static inline Py_ALWAYS_INLINE int random(void) { return 4; }"
320- msgstr ""
323+ msgstr "static inline Py_ALWAYS_INLINE int random(void) { return 4; } "
321324
322325#: ../../c-api/intro.rst:172
323326msgid ""
@@ -333,6 +336,8 @@ msgid ""
333336"Use this for deprecated declarations. The macro must be placed before the "
334337"symbol name."
335338msgstr ""
339+ "非推奨な宣言に使用してください。このマクロはシンボル名の前に置かれなければな"
340+ "りません。"
336341
337342#: ../../c-api/intro.rst:180 ../../c-api/intro.rst:266
338343#: ../../c-api/intro.rst:284
@@ -341,7 +346,7 @@ msgstr "以下はプログラム例です::"
341346
342347#: ../../c-api/intro.rst:182
343348msgid "Py_DEPRECATED(3.8) PyAPI_FUNC(int) Py_OldFunction(void);"
344- msgstr ""
349+ msgstr "Py_DEPRECATED(3.8) PyAPI_FUNC(int) Py_OldFunction(void); "
345350
346351#: ../../c-api/intro.rst:184
347352msgid "MSVC support was added."
@@ -352,6 +357,8 @@ msgid ""
352357"Like ``getenv(s)``, but returns ``NULL`` if :option:`-E` was passed on the "
353358"command line (see :c:member:`PyConfig.use_environment`)."
354359msgstr ""
360+ "``getenv(s)`` に似ていますが、コマンドラインで :option:`-E` が渡された場合は "
361+ "(:c:member:`PyConfig.use_environment` を参照) ``NULL`` を返します。"
355362
356363#: ../../c-api/intro.rst:194
357364msgid "Return the maximum value between ``x`` and ``y``."
@@ -378,7 +385,7 @@ msgstr "使い方::"
378385
379386#: ../../c-api/intro.rst:218
380387msgid "Py_NO_INLINE static int random(void) { return 4; }"
381- msgstr ""
388+ msgstr "Py_NO_INLINE static int random(void) { return 4; } "
382389
383390#: ../../c-api/intro.rst:224
384391msgid ""
@@ -422,6 +429,8 @@ msgid ""
422429"Use this for unused arguments in a function definition to silence compiler "
423430"warnings. Example: ``int func(int a, int Py_UNUSED(b)) { return a; }``."
424431msgstr ""
432+ "コンパイラ警告を抑えるために関数定義の使用されない引数に使用してください。例"
433+ "えば: ``int func(int a, int Py_UNUSED(b)) { return a; }`` 。"
425434
426435#: ../../c-api/intro.rst:260
427436msgid ""
@@ -445,6 +454,13 @@ msgid ""
445454" // ...\n"
446455"}"
447456msgstr ""
457+ "PyDoc_STRVAR(pop_doc, \" Remove and return the rightmost element.\" );\n"
458+ "\n"
459+ "static PyMethodDef deque_methods[] = {\n"
460+ " // ...\n"
461+ " {\" pop\" , (PyCFunction)deque_pop, METH_NOARGS, pop_doc},\n"
462+ " // ...\n"
463+ "}"
448464
449465#: ../../c-api/intro.rst:278
450466msgid ""
@@ -466,6 +482,11 @@ msgid ""
466482" {NULL, NULL}\n"
467483"};"
468484msgstr ""
485+ "static PyMethodDef pysqlite_row_methods[] = {\n"
486+ " {\" keys\" , (PyCFunction)pysqlite_row_keys, METH_NOARGS,\n"
487+ " PyDoc_STR(\" Returns the keys of the row.\" )},\n"
488+ " {NULL, NULL}\n"
489+ "};"
469490
470491#: ../../c-api/intro.rst:296
471492msgid "Objects, Types and Reference Counts"
@@ -710,6 +731,10 @@ msgid ""
710731"tuple = Py_BuildValue(\" (iis)\" , 1, 2, \" three\" );\n"
711732"list = Py_BuildValue(\" [iis]\" , 1, 2, \" three\" );"
712733msgstr ""
734+ "PyObject *tuple, *list;\n"
735+ "\n"
736+ "tuple = Py_BuildValue(\" (iis)\" , 1, 2, \" three\" );\n"
737+ "list = Py_BuildValue(\" [iis]\" , 1, 2, \" three\" );"
713738
714739#: ../../c-api/intro.rst:456
715740msgid ""
0 commit comments