@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.12\n "
1515"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 "
1717"PO-Revision-Date : 2021-06-28 00:48+0000\n "
1818"Last-Translator : Nozomu Kaneko <nozom.kaneko@gmail.com>, 2023\n "
1919"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -107,15 +107,14 @@ msgstr ""
107107"成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。\n"
108108"この関数は *val* への参照を盗み取り *ません*。"
109109
110- #: ../../c-api/dict.rst:75
110+ #: ../../c-api/dict.rst:73
111111msgid ""
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*`."
116115msgstr ""
117116
118- #: ../../c-api/dict.rst:83
117+ #: ../../c-api/dict.rst:80
119118msgid ""
120119"Remove the entry in dictionary *p* with key *key*. *key* must be :term:"
121120"`hashable`; if it isn't, :exc:`TypeError` is raised. If *key* is not in the "
@@ -127,14 +126,14 @@ msgstr ""
127126"`TypeError` を送出します。*key* が辞書になければ、:exc:`KeyError` を送出しま"
128127"す。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
129128
130- #: ../../c-api/dict.rst:91
129+ #: ../../c-api/dict.rst:88
131130msgid ""
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*` ."
135134msgstr ""
136135
137- #: ../../c-api/dict.rst:99
136+ #: ../../c-api/dict.rst:95
138137msgid ""
139138"Return the object from dictionary *p* which has a key *key*. Return "
140139"``NULL`` if the key *key* is not present, but *without* setting an exception."
@@ -143,20 +142,20 @@ msgstr ""
143142"キー *key* が存在しない場合には ``NULL`` を返しますが、例外をセット *しません"
144143"*。"
145144
146- #: ../../c-api/dict.rst:104
145+ #: ../../c-api/dict.rst:100
147146msgid ""
148147"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
149148"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
150149"`PyDict_GetItemWithError` function instead."
151150msgstr ""
152151
153- #: ../../c-api/dict.rst:108
152+ #: ../../c-api/dict.rst:104
154153msgid ""
155154"Calling this API without :term:`GIL` held had been allowed for historical "
156155"reason. It is no longer allowed."
157156msgstr ""
158157
159- #: ../../c-api/dict.rst:115
158+ #: ../../c-api/dict.rst:111
160159msgid ""
161160"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
162161"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -166,22 +165,22 @@ msgstr ""
166165"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
167166"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
168167
169- #: ../../c-api/dict.rst:123
168+ #: ../../c-api/dict.rst:119
170169msgid ""
171170"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
172171"expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
173172"`PyObject*`."
174173msgstr ""
175174
176- #: ../../c-api/dict.rst:129
175+ #: ../../c-api/dict.rst:125
177176msgid ""
178177"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
179178"`~object.__eq__` methods or while creating the temporary :class:`str` object "
180179"are silently ignored. Prefer using the :c:func:`PyDict_GetItemWithError` "
181180"function with your own :c:func:`PyUnicode_FromString` *key* instead."
182181msgstr ""
183182
184- #: ../../c-api/dict.rst:138
183+ #: ../../c-api/dict.rst:134
185184msgid ""
186185"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
187186"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -196,30 +195,30 @@ msgstr ""
196195"この関数は、 *key* のハッシュ値を検索と挿入ごとに別々に評価するのではなく、一"
197196"度だけしか評価しません。"
198197
199- #: ../../c-api/dict.rst:148
198+ #: ../../c-api/dict.rst:144
200199msgid ""
201200"Return a :c:type:`PyListObject` containing all the items from the dictionary."
202201msgstr "辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
203202
204- #: ../../c-api/dict.rst:153
203+ #: ../../c-api/dict.rst:149
205204msgid ""
206205"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
207206msgstr "辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
208207
209- #: ../../c-api/dict.rst:158
208+ #: ../../c-api/dict.rst:154
210209msgid ""
211210"Return a :c:type:`PyListObject` containing all the values from the "
212211"dictionary *p*."
213212msgstr "辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
214213
215- #: ../../c-api/dict.rst:166
214+ #: ../../c-api/dict.rst:162
216215msgid ""
217216"Return the number of items in the dictionary. This is equivalent to "
218217"``len(p)`` on a dictionary."
219218msgstr ""
220219"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
221220
222- #: ../../c-api/dict.rst:172
221+ #: ../../c-api/dict.rst:168
223222msgid ""
224223"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
225224"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -245,11 +244,11 @@ msgstr ""
245244"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなの"
246245"で、オフセットの値に一貫性がないためです。"
247246
248- #: ../../c-api/dict.rst:183
247+ #: ../../c-api/dict.rst:179
249248msgid "For example::"
250249msgstr "例えば::"
251250
252- #: ../../c-api/dict.rst:193
251+ #: ../../c-api/dict.rst:189
253252msgid ""
254253"The dictionary *p* should not be mutated during iteration. It is safe to "
255254"modify the values of the keys as you iterate over the dictionary, but only "
@@ -259,7 +258,7 @@ msgstr ""
259258"応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提で"
260259"す。以下に例を示します::"
261260
262- #: ../../c-api/dict.rst:218
261+ #: ../../c-api/dict.rst:214
263262msgid ""
264263"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
265264"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -276,7 +275,7 @@ msgstr ""
276275"行います。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` を返"
277276"します。"
278277
279- #: ../../c-api/dict.rst:228
278+ #: ../../c-api/dict.rst:224
280279msgid ""
281280"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
282281"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -289,7 +288,7 @@ msgstr ""
289288"性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した"
290289"場合には ``0`` を返し、例外が送出された場合には ``-1`` を返します。"
291290
292- #: ../../c-api/dict.rst:237
291+ #: ../../c-api/dict.rst:233
293292msgid ""
294293"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
295294"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -305,49 +304,49 @@ msgstr ""
305304"は ``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のよう"
306305"になります::"
307306
308- #: ../../c-api/dict.rst:251
307+ #: ../../c-api/dict.rst:247
309308msgid ""
310309"Register *callback* as a dictionary watcher. Return a non-negative integer "
311310"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
312311"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
313312"exception."
314313msgstr ""
315314
316- #: ../../c-api/dict.rst:260
315+ #: ../../c-api/dict.rst:256
317316msgid ""
318317"Clear watcher identified by *watcher_id* previously returned from :c:func:"
319318"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
320319"given *watcher_id* was never registered.)"
321320msgstr ""
322321
323- #: ../../c-api/dict.rst:268
322+ #: ../../c-api/dict.rst:264
324323msgid ""
325324"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
326325"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
327326"deallocated. Return ``0`` on success or ``-1`` on error."
328327msgstr ""
329328
330- #: ../../c-api/dict.rst:276
329+ #: ../../c-api/dict.rst:272
331330msgid ""
332331"Mark dictionary *dict* as no longer watched. The callback granted "
333332"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
334333"*dict* is modified or deallocated. The dict must previously have been "
335334"watched by this watcher. Return ``0`` on success or ``-1`` on error."
336335msgstr ""
337336
338- #: ../../c-api/dict.rst:285
337+ #: ../../c-api/dict.rst:281
339338msgid ""
340339"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
341340"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
342341"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
343342"``PyDict_EVENT_DEALLOCATED``."
344343msgstr ""
345344
346- #: ../../c-api/dict.rst:293
345+ #: ../../c-api/dict.rst:289
347346msgid "Type of a dict watcher callback function."
348347msgstr ""
349348
350- #: ../../c-api/dict.rst:295
349+ #: ../../c-api/dict.rst:291
351350msgid ""
352351"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
353352"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -356,22 +355,22 @@ msgid ""
356355"dictionary and *new_value* will be ``NULL``."
357356msgstr ""
358357
359- #: ../../c-api/dict.rst:301
358+ #: ../../c-api/dict.rst:297
360359msgid ""
361360"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
362361"dict is merged into it. To maintain efficiency of this operation, per-key "
363362"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
364363"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
365364msgstr ""
366365
367- #: ../../c-api/dict.rst:307
366+ #: ../../c-api/dict.rst:303
368367msgid ""
369368"The callback may inspect but must not modify *dict*; doing so could have "
370369"unpredictable effects, including infinite recursion. Do not trigger Python "
371370"code execution in the callback, as it could modify the dict as a side effect."
372371msgstr ""
373372
374- #: ../../c-api/dict.rst:311
373+ #: ../../c-api/dict.rst:307
375374msgid ""
376375"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
377376"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -380,20 +379,20 @@ msgid ""
380379"again."
381380msgstr ""
382381
383- #: ../../c-api/dict.rst:317
382+ #: ../../c-api/dict.rst:313
384383msgid ""
385384"Callbacks occur before the notified modification to *dict* takes place, so "
386385"the prior state of *dict* can be inspected."
387386msgstr ""
388387
389- #: ../../c-api/dict.rst:320
388+ #: ../../c-api/dict.rst:316
390389msgid ""
391390"If the callback sets an exception, it must return ``-1``; this exception "
392391"will be printed as an unraisable exception using :c:func:"
393392"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
394393msgstr ""
395394
396- #: ../../c-api/dict.rst:324
395+ #: ../../c-api/dict.rst:320
397396msgid ""
398397"There may already be a pending exception set on entry to the callback. In "
399398"this case, the callback should return ``0`` with the same exception still "
@@ -410,14 +409,10 @@ msgstr "object"
410409msgid "dictionary"
411410msgstr "dictionary"
412411
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
418413msgid "built-in function"
419414msgstr "組み込み関数"
420415
421- #: ../../c-api/dict.rst:164
416+ #: ../../c-api/dict.rst:160
422417msgid "len"
423418msgstr "len"
0 commit comments