@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.12\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2023-07-14 14:14 +0000\n "
18+ "POT-Creation-Date : 2023-07-21 14:13 +0000\n "
1919"PO-Revision-Date : 2021-06-28 00:48+0000\n "
2020"Last-Translator : tomo, 2023\n "
2121"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -274,22 +274,12 @@ msgid ""
274274"constructs a tuple object whose first item is the integer :c:data:`errno` "
275275"value and whose second item is the corresponding error message (gotten from :"
276276"c:func:`strerror`), and then calls ``PyErr_SetObject(type, object)``. On "
277- "Unix, when the :c:data:`errno` value is :const :`EINTR`, indicating an "
277+ "Unix, when the :c:data:`errno` value is :c:macro :`EINTR`, indicating an "
278278"interrupted system call, this calls :c:func:`PyErr_CheckSignals`, and if "
279279"that set the error indicator, leaves it set to that. The function always "
280280"returns ``NULL``, so a wrapper function around a system call can write "
281281"``return PyErr_SetFromErrno(type);`` when the system call returns an error."
282282msgstr ""
283- "Cライブラリ関数がエラーを返してC変数 :c:data:`errno` を設定したときに、これは"
284- "例外を発生させるために便利な関数です。第一要素が整数 :c:data:`errno` 値で、第"
285- "二要素が (:c:func:`strerror` から得られる)対応するエラーメッセージであるタプ"
286- "ルオブジェクトを構成します。それから、 ``PyErr_SetObject(type, object)`` を呼"
287- "び出します。 Unixでは、 :c:data:`errno` 値が :const:`EINTR` であるとき、すな"
288- "わち割り込まれたシステムコールを表しているとき、これは :c:func:"
289- "`PyErr_CheckSignals` を呼び出し、それがエラーインジケータを設定した場合は設定"
290- "されたままにしておきます。関数は常に ``NULL`` を返します。したがって、システ"
291- "ムコールがエラーを返したとき、システムコールのラッパー関数は ``return "
292- "PyErr_SetFromErrno(type);`` と書くことができます。"
293283
294284#: ../../c-api/exceptions.rst:177
295285msgid ""
@@ -866,14 +856,14 @@ msgstr ""
866856
867857#: ../../c-api/exceptions.rst:634
868858msgid ""
869- "The default Python signal handler for :const :`SIGINT` raises the :exc:"
859+ "The default Python signal handler for :c:macro :`SIGINT` raises the :exc:"
870860"`KeyboardInterrupt` exception."
871861msgstr ""
872862
873863#: ../../c-api/exceptions.rst:645
874864msgid ""
875- "Simulate the effect of a :const: `SIGINT` signal arriving. This is equivalent "
876- "to ``PyErr_SetInterruptEx(SIGINT)``."
865+ "Simulate the effect of a :c:macro: `SIGINT` signal arriving. This is "
866+ "equivalent to ``PyErr_SetInterruptEx(SIGINT)``."
877867msgstr ""
878868
879869#: ../../c-api/exceptions.rst:649 ../../c-api/exceptions.rst:676
@@ -902,11 +892,9 @@ msgstr ""
902892
903893#: ../../c-api/exceptions.rst:668
904894msgid ""
905- "If the given signal isn't handled by Python (it was set to :data :`signal."
906- "SIG_DFL` or :data :`signal.SIG_IGN`), it will be ignored."
895+ "If the given signal isn't handled by Python (it was set to :py:const :`signal."
896+ "SIG_DFL` or :py:const :`signal.SIG_IGN`), it will be ignored."
907897msgstr ""
908- "与えられたシグナルが Python に対処されなかった (:data:`signal.SIG_DFL` また"
909- "は :data:`signal.SIG_IGN` に設定されていた) 場合、無視されます。"
910898
911899#: ../../c-api/exceptions.rst:671
912900msgid ""
@@ -1031,25 +1019,17 @@ msgstr ""
10311019
10321020#: ../../c-api/exceptions.rst:757
10331021msgid ""
1034- "Return the cause (either an exception instance, or :const:` None`, set by "
1022+ "Return the cause (either an exception instance, or `` None` `, set by "
10351023"``raise ... from ...``) associated with the exception as a new reference, as "
10361024"accessible from Python through :attr:`__cause__`."
10371025msgstr ""
1038- "Python で :attr:`__cause__` 属性からアクセスできるものと同じ、例外に関する原"
1039- "因 (``raise ... from ...`` によってセットされる例外インスタンス、もしくは :"
1040- "const:`None`) の新しい参照を返します。"
10411026
10421027#: ../../c-api/exceptions.rst:764
10431028msgid ""
10441029"Set the cause associated with the exception to *cause*. Use ``NULL`` to "
10451030"clear it. There is no type check to make sure that *cause* is either an "
1046- "exception instance or :const:` None`. This steals a reference to *cause*."
1031+ "exception instance or `` None` `. This steals a reference to *cause*."
10471032msgstr ""
1048- "例外に関係する原因に *cause* をセットします。\n"
1049- "クリアするには ``NULL`` を使用してください。\n"
1050- "*cause* が例外インスタンスか :const:`None` のどちらかであることを確かめる型"
1051- "チェックは行われません。\n"
1052- "これは *cause* への参照を盗みます。"
10531033
10541034#: ../../c-api/exceptions.rst:768
10551035msgid ""
@@ -1175,14 +1155,10 @@ msgstr "C レベルの再帰呼び出しをしようとしているところに
11751155
11761156#: ../../c-api/exceptions.rst:877
11771157msgid ""
1178- "If :const: `USE_STACKCHECK` is defined, this function checks if the OS stack "
1179- "overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it sets a : "
1180- "exc:`MemoryError` and returns a nonzero value."
1158+ "If :c:macro: `USE_STACKCHECK` is defined, this function checks if the OS "
1159+ "stack overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it "
1160+ "sets a : exc:`MemoryError` and returns a nonzero value."
11811161msgstr ""
1182- ":const:`USE_STACKCHECK` が定義されている場合、 OS のスタックがオーバーフロー"
1183- "がしたかどうかを :c:func:`PyOS_CheckStack` を使ってチェックします。もしオー"
1184- "バーフローしているなら、 :exc:`MemoryError` をセットしゼロでない値を返しま"
1185- "す。"
11861162
11871163#: ../../c-api/exceptions.rst:881
11881164msgid ""
0 commit comments