@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.8\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2019-09-01 14:24 +0000\n "
18+ "POT-Creation-Date : 2019-10-27 11:47 +0000\n "
1919"PO-Revision-Date : 2017-02-16 17:36+0000\n "
2020"Last-Translator : tomo, 2019\n "
2121"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -95,29 +95,28 @@ msgstr "マクロ形式でできた :c:func:`PyList_GetItem` で、エラーチ
9595
9696#: ../../c-api/list.rst:74
9797msgid ""
98- "Set the item at index *index* in list to *item*. Return ``0`` on success or"
99- " ``-1`` on failure."
98+ "Set the item at index *index* in list to *item*. Return ``0`` on success. "
99+ "If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
100+ "exception."
100101msgstr ""
101- "リストオブジェクト内の位置 *index* に、オブジェクト *item* を挿入します。成功した場合には ``0`` を返し、失敗すると ``-1``"
102- " を返します。"
103102
104- #: ../../c-api/list.rst:79
103+ #: ../../c-api/list.rst:80
105104msgid ""
106105"This function \" steals\" a reference to *item* and discards a reference to "
107106"an item already in the list at the affected position."
108107msgstr ""
109108"この関数は *item* への参照を \" 盗み取り\" "
110109"ます。また、変更先のインデクスにすでに別の要素が入っている場合、その要素に対する参照を放棄します。"
111110
112- #: ../../c-api/list.rst:85
111+ #: ../../c-api/list.rst:86
113112msgid ""
114113"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
115114"normally only used to fill in new lists where there is no previous content."
116115msgstr ""
117116":c:func:`PyList_SetItem` "
118117"をマクロによる実装で、エラーチェックを行いません。このマクロは、新たなリストのまだ要素を入れたことのない位置に要素を入れるときにのみ使います。"
119118
120- #: ../../c-api/list.rst:90
119+ #: ../../c-api/list.rst:91
121120msgid ""
122121"This macro \" steals\" a reference to *item*, and, unlike "
123122":c:func:`PyList_SetItem`, does *not* discard a reference to any item that is"
@@ -127,7 +126,7 @@ msgstr ""
127126"と違って、要素の置き換えが生じても置き換えられるオブジェクトへの参照を放棄 *しません* ; その結果、 *list* 中の位置 *i* "
128127"で参照されていたオブジェクトがメモリリークを引き起こします。"
129128
130- #: ../../c-api/list.rst:98
129+ #: ../../c-api/list.rst:99
131130msgid ""
132131"Insert the item *item* into list *list* in front of index *index*. Return "
133132"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
@@ -136,7 +135,7 @@ msgstr ""
136135"要素 *item* をリスト *list* のインデックス *index* の前に挿入します。成功すると ``0`` を返します。失敗すると "
137136"``-1`` を返し、例外をセットします。``list.insert(index, item)`` に類似した機能です。"
138137
139- #: ../../c-api/list.rst:105
138+ #: ../../c-api/list.rst:106
140139msgid ""
141140"Append the object *item* at the end of list *list*. Return ``0`` if "
142141"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
@@ -145,29 +144,22 @@ msgstr ""
145144"オブジェクト *item* を *list* の末尾に追加します。成功すると ``0`` を返します; 失敗すると ``-1`` "
146145"を返し、例外をセットします。``list.append(item)`` に類似した機能です。"
147146
148- #: ../../c-api/list.rst:112
147+ #: ../../c-api/list.rst:113
149148msgid ""
150149"Return a list of the objects in *list* containing the objects *between* "
151150"*low* and *high*. Return *NULL* and set an exception if unsuccessful. "
152- "Analogous to ``list[low:high]``. Negative indices, as when slicing from "
153- "Python, are not supported."
151+ "Analogous to ``list[low:high]``. Indexing from the end of the list is not "
152+ "supported."
154153msgstr ""
155- "*list* 内の、*low* から *high* の *間の* オブジェクトからなるリストを返します。失敗すると *NULL* "
156- "を返し、例外をセットします。``list[low:high]`` に類似した機能です。ただし、Python "
157- "のスライスにある負のインデックスはサポートされていません。"
158154
159155#: ../../c-api/list.rst:120
160156msgid ""
161157"Set the slice of *list* between *low* and *high* to the contents of "
162158"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
163159"be *NULL*, indicating the assignment of an empty list (slice deletion). "
164- "Return ``0`` on success, ``-1`` on failure. Negative indices, as when "
165- "slicing from Python, are not supported."
160+ "Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
161+ "list is not supported."
166162msgstr ""
167- "*list* 内の、*low* から *high* の間のオブジェクトを、*itemlist* の内容にします。``list[low:high] = "
168- "itemlist`` と類似の機能です。*itemlist* は *NULL* でもよく、空リストの代入 (指定スライスの削除) "
169- "になります。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。Python "
170- "のスライスにある負のインデックスはサポートされていません。"
171163
172164#: ../../c-api/list.rst:129
173165msgid ""
0 commit comments