@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.12\n "
15
15
"Report-Msgid-Bugs-To : \n "
16
- "POT-Creation-Date : 2023-08-25 20:17 +0000\n "
16
+ "POT-Creation-Date : 2023-09-08 14:13 +0000\n "
17
17
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
18
18
"Last-Translator : Nozomu Kaneko <nozom.kaneko@gmail.com>, 2023\n "
19
19
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -107,15 +107,14 @@ msgstr ""
107
107
"成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。\n"
108
108
"この関数は *val* への参照を盗み取り *ません*。"
109
109
110
- #: ../../c-api/dict.rst:75
110
+ #: ../../c-api/dict.rst:73
111
111
msgid ""
112
- "Insert *val* into the dictionary *p* using *key* as a key. *key* should be "
113
- "a :c:expr:`const char*` UTF-8 encoded bytes string. The key object is "
114
- "created using ``PyUnicode_FromString(key)``. Return ``0`` on success or "
115
- "``-1`` on failure. This function *does not* steal a reference to *val*."
112
+ "This is the same as :c:func:`PyDict_SetItem`, but *key* is specified as a :c:"
113
+ "expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
114
+ "`PyObject*`."
116
115
msgstr ""
117
116
118
- #: ../../c-api/dict.rst:83
117
+ #: ../../c-api/dict.rst:80
119
118
msgid ""
120
119
"Remove the entry in dictionary *p* with key *key*. *key* must be :term:"
121
120
"`hashable`; if it isn't, :exc:`TypeError` is raised. If *key* is not in the "
@@ -127,14 +126,14 @@ msgstr ""
127
126
"`TypeError` を送出します。*key* が辞書になければ、:exc:`KeyError` を送出しま"
128
127
"す。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
129
128
130
- #: ../../c-api/dict.rst:91
129
+ #: ../../c-api/dict.rst:88
131
130
msgid ""
132
- "Remove the entry in dictionary *p* which has a key specified by the UTF-8 "
133
- "encoded bytes string *key*. If *key* is not in the dictionary, :exc :"
134
- "`KeyError` is raised. Return ``0`` on success or ``-1`` on failure ."
131
+ "This is the same as :c:func:`PyDict_DelItem`, but *key* is specified as a :c: "
132
+ "expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr :"
133
+ "`PyObject*` ."
135
134
msgstr ""
136
135
137
- #: ../../c-api/dict.rst:99
136
+ #: ../../c-api/dict.rst:95
138
137
msgid ""
139
138
"Return the object from dictionary *p* which has a key *key*. Return "
140
139
"``NULL`` if the key *key* is not present, but *without* setting an exception."
@@ -143,20 +142,20 @@ msgstr ""
143
142
"キー *key* が存在しない場合には ``NULL`` を返しますが、例外をセット *しません"
144
143
"*。"
145
144
146
- #: ../../c-api/dict.rst:104
145
+ #: ../../c-api/dict.rst:100
147
146
msgid ""
148
147
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
149
148
"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
150
149
"`PyDict_GetItemWithError` function instead."
151
150
msgstr ""
152
151
153
- #: ../../c-api/dict.rst:108
152
+ #: ../../c-api/dict.rst:104
154
153
msgid ""
155
154
"Calling this API without :term:`GIL` held had been allowed for historical "
156
155
"reason. It is no longer allowed."
157
156
msgstr ""
158
157
159
- #: ../../c-api/dict.rst:115
158
+ #: ../../c-api/dict.rst:111
160
159
msgid ""
161
160
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
162
161
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -166,22 +165,22 @@ msgstr ""
166
165
"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
167
166
"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
168
167
169
- #: ../../c-api/dict.rst:123
168
+ #: ../../c-api/dict.rst:119
170
169
msgid ""
171
170
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
172
171
"expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
173
172
"`PyObject*`."
174
173
msgstr ""
175
174
176
- #: ../../c-api/dict.rst:129
175
+ #: ../../c-api/dict.rst:125
177
176
msgid ""
178
177
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
179
178
"`~object.__eq__` methods or while creating the temporary :class:`str` object "
180
179
"are silently ignored. Prefer using the :c:func:`PyDict_GetItemWithError` "
181
180
"function with your own :c:func:`PyUnicode_FromString` *key* instead."
182
181
msgstr ""
183
182
184
- #: ../../c-api/dict.rst:138
183
+ #: ../../c-api/dict.rst:134
185
184
msgid ""
186
185
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
187
186
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -196,30 +195,30 @@ msgstr ""
196
195
"この関数は、 *key* のハッシュ値を検索と挿入ごとに別々に評価するのではなく、一"
197
196
"度だけしか評価しません。"
198
197
199
- #: ../../c-api/dict.rst:148
198
+ #: ../../c-api/dict.rst:144
200
199
msgid ""
201
200
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
202
201
msgstr "辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
203
202
204
- #: ../../c-api/dict.rst:153
203
+ #: ../../c-api/dict.rst:149
205
204
msgid ""
206
205
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
207
206
msgstr "辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
208
207
209
- #: ../../c-api/dict.rst:158
208
+ #: ../../c-api/dict.rst:154
210
209
msgid ""
211
210
"Return a :c:type:`PyListObject` containing all the values from the "
212
211
"dictionary *p*."
213
212
msgstr "辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
214
213
215
- #: ../../c-api/dict.rst:166
214
+ #: ../../c-api/dict.rst:162
216
215
msgid ""
217
216
"Return the number of items in the dictionary. This is equivalent to "
218
217
"``len(p)`` on a dictionary."
219
218
msgstr ""
220
219
"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
221
220
222
- #: ../../c-api/dict.rst:172
221
+ #: ../../c-api/dict.rst:168
223
222
msgid ""
224
223
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
225
224
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -245,11 +244,11 @@ msgstr ""
245
244
"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなの"
246
245
"で、オフセットの値に一貫性がないためです。"
247
246
248
- #: ../../c-api/dict.rst:183
247
+ #: ../../c-api/dict.rst:179
249
248
msgid "For example::"
250
249
msgstr "例えば::"
251
250
252
- #: ../../c-api/dict.rst:193
251
+ #: ../../c-api/dict.rst:189
253
252
msgid ""
254
253
"The dictionary *p* should not be mutated during iteration. It is safe to "
255
254
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -259,7 +258,7 @@ msgstr ""
259
258
"応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提で"
260
259
"す。以下に例を示します::"
261
260
262
- #: ../../c-api/dict.rst:218
261
+ #: ../../c-api/dict.rst:214
263
262
msgid ""
264
263
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
265
264
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -276,7 +275,7 @@ msgstr ""
276
275
"行います。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` を返"
277
276
"します。"
278
277
279
- #: ../../c-api/dict.rst:228
278
+ #: ../../c-api/dict.rst:224
280
279
msgid ""
281
280
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
282
281
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -289,7 +288,7 @@ msgstr ""
289
288
"性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した"
290
289
"場合には ``0`` を返し、例外が送出された場合には ``-1`` を返します。"
291
290
292
- #: ../../c-api/dict.rst:237
291
+ #: ../../c-api/dict.rst:233
293
292
msgid ""
294
293
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
295
294
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -305,49 +304,49 @@ msgstr ""
305
304
"は ``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のよう"
306
305
"になります::"
307
306
308
- #: ../../c-api/dict.rst:251
307
+ #: ../../c-api/dict.rst:247
309
308
msgid ""
310
309
"Register *callback* as a dictionary watcher. Return a non-negative integer "
311
310
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
312
311
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
313
312
"exception."
314
313
msgstr ""
315
314
316
- #: ../../c-api/dict.rst:260
315
+ #: ../../c-api/dict.rst:256
317
316
msgid ""
318
317
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
319
318
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
320
319
"given *watcher_id* was never registered.)"
321
320
msgstr ""
322
321
323
- #: ../../c-api/dict.rst:268
322
+ #: ../../c-api/dict.rst:264
324
323
msgid ""
325
324
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
326
325
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
327
326
"deallocated. Return ``0`` on success or ``-1`` on error."
328
327
msgstr ""
329
328
330
- #: ../../c-api/dict.rst:276
329
+ #: ../../c-api/dict.rst:272
331
330
msgid ""
332
331
"Mark dictionary *dict* as no longer watched. The callback granted "
333
332
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
334
333
"*dict* is modified or deallocated. The dict must previously have been "
335
334
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
336
335
msgstr ""
337
336
338
- #: ../../c-api/dict.rst:285
337
+ #: ../../c-api/dict.rst:281
339
338
msgid ""
340
339
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
341
340
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
342
341
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
343
342
"``PyDict_EVENT_DEALLOCATED``."
344
343
msgstr ""
345
344
346
- #: ../../c-api/dict.rst:293
345
+ #: ../../c-api/dict.rst:289
347
346
msgid "Type of a dict watcher callback function."
348
347
msgstr ""
349
348
350
- #: ../../c-api/dict.rst:295
349
+ #: ../../c-api/dict.rst:291
351
350
msgid ""
352
351
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
353
352
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -356,22 +355,22 @@ msgid ""
356
355
"dictionary and *new_value* will be ``NULL``."
357
356
msgstr ""
358
357
359
- #: ../../c-api/dict.rst:301
358
+ #: ../../c-api/dict.rst:297
360
359
msgid ""
361
360
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
362
361
"dict is merged into it. To maintain efficiency of this operation, per-key "
363
362
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
364
363
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
365
364
msgstr ""
366
365
367
- #: ../../c-api/dict.rst:307
366
+ #: ../../c-api/dict.rst:303
368
367
msgid ""
369
368
"The callback may inspect but must not modify *dict*; doing so could have "
370
369
"unpredictable effects, including infinite recursion. Do not trigger Python "
371
370
"code execution in the callback, as it could modify the dict as a side effect."
372
371
msgstr ""
373
372
374
- #: ../../c-api/dict.rst:311
373
+ #: ../../c-api/dict.rst:307
375
374
msgid ""
376
375
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
377
376
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -380,20 +379,20 @@ msgid ""
380
379
"again."
381
380
msgstr ""
382
381
383
- #: ../../c-api/dict.rst:317
382
+ #: ../../c-api/dict.rst:313
384
383
msgid ""
385
384
"Callbacks occur before the notified modification to *dict* takes place, so "
386
385
"the prior state of *dict* can be inspected."
387
386
msgstr ""
388
387
389
- #: ../../c-api/dict.rst:320
388
+ #: ../../c-api/dict.rst:316
390
389
msgid ""
391
390
"If the callback sets an exception, it must return ``-1``; this exception "
392
391
"will be printed as an unraisable exception using :c:func:"
393
392
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
394
393
msgstr ""
395
394
396
- #: ../../c-api/dict.rst:324
395
+ #: ../../c-api/dict.rst:320
397
396
msgid ""
398
397
"There may already be a pending exception set on entry to the callback. In "
399
398
"this case, the callback should return ``0`` with the same exception still "
@@ -410,14 +409,10 @@ msgstr "object"
410
409
msgid "dictionary"
411
410
msgstr "dictionary"
412
411
413
- #: ../../c-api/dict.rst:73
414
- msgid "PyUnicode_FromString()"
415
- msgstr "PyUnicode_FromString()"
416
-
417
- #: ../../c-api/dict.rst:164
412
+ #: ../../c-api/dict.rst:160
418
413
msgid "built-in function"
419
414
msgstr "組み込み関数"
420
415
421
- #: ../../c-api/dict.rst:164
416
+ #: ../../c-api/dict.rst:160
422
417
msgid "len"
423
418
msgstr "len"
0 commit comments