@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.13\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2024-05-24 14:15 +0000\n "
18+ "POT-Creation-Date : 2024-06-21 14:14 +0000\n "
1919"PO-Revision-Date : 2021-06-28 00:49+0000\n "
2020"Last-Translator : 石井 明久, 2024\n "
2121"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -166,6 +166,9 @@ msgid ""
166166":c:func:`PyModule_GetFilename` raises :exc:`UnicodeEncodeError` on "
167167"unencodable filenames, use :c:func:`PyModule_GetFilenameObject` instead."
168168msgstr ""
169+ ":c:func:`PyModule_GetFilename` はエンコードできないファイル名に対しては :exc:"
170+ "`UnicodeEncodeError` を送出します。これの代わりに :c:func:"
171+ "`PyModule_GetFilenameObject` を使用してください。"
169172
170173#: ../../c-api/module.rst:129
171174msgid "Initializing C modules"
@@ -209,6 +212,7 @@ msgstr ""
209212#: ../../c-api/module.rst:148
210213msgid "Always initialize this member to :c:macro:`PyModuleDef_HEAD_INIT`."
211214msgstr ""
215+ "このメンバーは常に :c:macro:`PyModuleDef_HEAD_INIT` で初期化してください。"
212216
213217#: ../../c-api/module.rst:152
214218msgid "Name for the new module."
@@ -239,6 +243,9 @@ msgid ""
239243"freed when the module object is deallocated, after the :c:member:"
240244"`~PyModuleDef.m_free` function has been called, if present."
241245msgstr ""
246+ "このメモリ領域は *m_size* に基づいてモジュール作成時に確保され、モジュールオ"
247+ "ブジェクトが破棄されるときに、 :c:member:`~PyModuleDef.m_free` 関数があればそ"
248+ "れが呼ばれた後で解放されます。"
242249
243250#: ../../c-api/module.rst:169
244251msgid ""
@@ -746,12 +753,15 @@ msgstr ""
746753msgid ""
747754"On success, return ``0``. On error, raise an exception and return ``-1``."
748755msgstr ""
756+ "成功すると ``0`` を返し、エラーになると例外を送出して ``-1`` を返します。"
749757
750758#: ../../c-api/module.rst:514
751759msgid ""
752760"Return ``NULL`` if *value* is ``NULL``. It must be called with an exception "
753761"raised in this case."
754762msgstr ""
763+ "*value* が ``NULL`` の場合は ``NULL`` を返します。この場合は、例外を送出して"
764+ "呼び出されなければなりません。"
755765
756766#: ../../c-api/module.rst:517 ../../c-api/module.rst:556
757767#: ../../c-api/module.rst:583
@@ -763,12 +773,16 @@ msgid ""
763773"The example can also be written without checking explicitly if *obj* is "
764774"``NULL``::"
765775msgstr ""
776+ "この例は、明示的に *obj* が ``NULL`` であることを確認せずに書くこともできま"
777+ "す::"
766778
767779#: ../../c-api/module.rst:543
768780msgid ""
769781"Note that ``Py_XDECREF()`` should be used instead of ``Py_DECREF()`` in this "
770782"case, since *obj* can be ``NULL``."
771783msgstr ""
784+ "この場合は、 *obj* が ``NULL`` でありうるため、 ``Py_DECREF()`` の代わりに "
785+ "``Py_XDECREF()`` を呼び出す必要があることに注意してください。"
772786
773787#: ../../c-api/module.rst:551
774788msgid ""
0 commit comments