@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.12\n "
17
17
"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 "
19
19
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
20
20
"Last-Translator : tomo, 2023\n "
21
21
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -127,14 +127,16 @@ msgstr ""
127
127
"たハンドラで渡します。"
128
128
129
129
#: ../../c-api/file.rst:68
130
+ msgid "The handler is a function of type:"
131
+ msgstr ""
132
+
133
+ #: ../../c-api/file.rst:72
130
134
msgid ""
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`."
133
137
msgstr ""
134
- "ハンドラは :c:expr:`PyObject *(\\ *)(PyObject *path, void *userData)` 型の関数"
135
- "で、 *path* は :c:type:`PyUnicodeObject` であることが保証されています。"
136
138
137
- #: ../../c-api/file.rst:71
139
+ #: ../../c-api/file.rst:76
138
140
msgid ""
139
141
"The *userData* pointer is passed into the hook function. Since hook "
140
142
"functions may be called from different runtimes, this pointer should not "
@@ -144,7 +146,7 @@ msgstr ""
144
146
"フック関数は別なランタイムから呼び出されるかもしれないので、このポインタは直"
145
147
"接 Python の状態を参照すべきではありません。"
146
148
147
- #: ../../c-api/file.rst:75
149
+ #: ../../c-api/file.rst:80
148
150
msgid ""
149
151
"As this hook is intentionally used during import, avoid importing new "
150
152
"modules during its execution unless they are known to be frozen or available "
@@ -155,7 +157,7 @@ msgstr ""
155
157
"ことが分かっている場合を除いては、フック関数の実行中に新しいモジュールをイン"
156
158
"ポートするのは避けてください。"
157
159
158
- #: ../../c-api/file.rst:79
160
+ #: ../../c-api/file.rst:84
159
161
msgid ""
160
162
"Once a hook has been set, it cannot be removed or replaced, and later calls "
161
163
"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
@@ -166,26 +168,26 @@ msgstr ""
166
168
"この関数が失敗したときは、インタープリタが初期化されていた場合、 -1 を返して"
167
169
"例外をセットします。"
168
170
169
- #: ../../c-api/file.rst:83
171
+ #: ../../c-api/file.rst:88
170
172
msgid "This function is safe to call before :c:func:`Py_Initialize`."
171
173
msgstr "この関数は :c:func:`Py_Initialize` より前に呼び出しても安全です。"
172
174
173
- #: ../../c-api/file.rst:85
175
+ #: ../../c-api/file.rst:90
174
176
msgid ""
175
177
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
176
178
"arguments."
177
179
msgstr ""
178
180
"引数無しで :ref:`監査イベント <auditing>` ``setopencodehook`` を送出します。 "
179
181
180
- #: ../../c-api/file.rst:95
182
+ #: ../../c-api/file.rst:100
181
183
msgid ""
182
184
"Write object *obj* to file object *p*. The only supported flag for *flags* "
183
185
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
184
186
"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
185
187
"failure; the appropriate exception will be set."
186
188
msgstr ""
187
189
188
- #: ../../c-api/file.rst:103
190
+ #: ../../c-api/file.rst:108
189
191
msgid ""
190
192
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
191
193
"failure; the appropriate exception will be set."
@@ -205,6 +207,6 @@ msgstr "ファイル"
205
207
msgid "EOFError (built-in exception)"
206
208
msgstr "EOFError (組み込み例外)"
207
209
208
- #: ../../c-api/file.rst:93
210
+ #: ../../c-api/file.rst:98
209
211
msgid "Py_PRINT_RAW"
210
212
msgstr "Py_PRINT_RAW"
0 commit comments