@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.12\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2024-01-19 14:14 +0000\n "
18+ "POT-Creation-Date : 2024-02-09 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/ "
@@ -127,14 +127,16 @@ msgstr ""
127127"たハンドラで渡します。"
128128
129129#: ../../c-api/file.rst:68
130+ msgid "The handler is a function of type:"
131+ msgstr ""
132+
133+ #: ../../c-api/file.rst:72
130134msgid ""
131- "The handler is a function of type :c:expr:`PyObject *(\\ *)(PyObject *path, "
132- "void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
135+ "Equivalent of :c:expr:`PyObject *(\\ *)(PyObject *path, void *userData)` , "
136+ "where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
133137msgstr ""
134- "ハンドラは :c:expr:`PyObject *(\\ *)(PyObject *path, void *userData)` 型の関数"
135- "で、 *path* は :c:type:`PyUnicodeObject` であることが保証されています。"
136138
137- #: ../../c-api/file.rst:71
139+ #: ../../c-api/file.rst:76
138140msgid ""
139141"The *userData* pointer is passed into the hook function. Since hook "
140142"functions may be called from different runtimes, this pointer should not "
@@ -144,7 +146,7 @@ msgstr ""
144146"フック関数は別なランタイムから呼び出されるかもしれないので、このポインタは直"
145147"接 Python の状態を参照すべきではありません。"
146148
147- #: ../../c-api/file.rst:75
149+ #: ../../c-api/file.rst:80
148150msgid ""
149151"As this hook is intentionally used during import, avoid importing new "
150152"modules during its execution unless they are known to be frozen or available "
@@ -155,7 +157,7 @@ msgstr ""
155157"ことが分かっている場合を除いては、フック関数の実行中に新しいモジュールをイン"
156158"ポートするのは避けてください。"
157159
158- #: ../../c-api/file.rst:79
160+ #: ../../c-api/file.rst:84
159161msgid ""
160162"Once a hook has been set, it cannot be removed or replaced, and later calls "
161163"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
@@ -166,26 +168,26 @@ msgstr ""
166168"この関数が失敗したときは、インタープリタが初期化されていた場合、 -1 を返して"
167169"例外をセットします。"
168170
169- #: ../../c-api/file.rst:83
171+ #: ../../c-api/file.rst:88
170172msgid "This function is safe to call before :c:func:`Py_Initialize`."
171173msgstr "この関数は :c:func:`Py_Initialize` より前に呼び出しても安全です。"
172174
173- #: ../../c-api/file.rst:85
175+ #: ../../c-api/file.rst:90
174176msgid ""
175177"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
176178"arguments."
177179msgstr ""
178180"引数無しで :ref:`監査イベント <auditing>` ``setopencodehook`` を送出します。 "
179181
180- #: ../../c-api/file.rst:95
182+ #: ../../c-api/file.rst:100
181183msgid ""
182184"Write object *obj* to file object *p*. The only supported flag for *flags* "
183185"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
184186"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
185187"failure; the appropriate exception will be set."
186188msgstr ""
187189
188- #: ../../c-api/file.rst:103
190+ #: ../../c-api/file.rst:108
189191msgid ""
190192"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
191193"failure; the appropriate exception will be set."
@@ -205,6 +207,6 @@ msgstr "ファイル"
205207msgid "EOFError (built-in exception)"
206208msgstr "EOFError (組み込み例外)"
207209
208- #: ../../c-api/file.rst:93
210+ #: ../../c-api/file.rst:98
209211msgid "Py_PRINT_RAW"
210212msgstr "Py_PRINT_RAW"
0 commit comments