@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version :Python 3.8\n "
17
17
"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 "
19
19
"PO-Revision-Date :2017-02-16 17:36+0000\n "
20
20
"Last-Translator :tomo, 2019\n "
21
21
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -95,29 +95,28 @@ msgstr "マクロ形式でできた :c:func:`PyList_GetItem` で、エラーチ
95
95
96
96
#: ../../c-api/list.rst:74
97
97
msgid ""
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."
100
101
msgstr ""
101
- "リストオブジェクト内の位置 *index* に、オブジェクト *item* を挿入します。成功した場合には ``0`` を返し、失敗すると ``-1``"
102
- " を返します。"
103
102
104
- #: ../../c-api/list.rst:79
103
+ #: ../../c-api/list.rst:80
105
104
msgid ""
106
105
"This function\" steals\" a reference to *item* and discards a reference to "
107
106
"an item already in the list at the affected position."
108
107
msgstr ""
109
108
"この関数は *item* への参照を\" 盗み取り\" "
110
109
"ます。また、変更先のインデクスにすでに別の要素が入っている場合、その要素に対する参照を放棄します。"
111
110
112
- #: ../../c-api/list.rst:85
111
+ #: ../../c-api/list.rst:86
113
112
msgid ""
114
113
"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
115
114
"normally only used to fill in new lists where there is no previous content."
116
115
msgstr ""
117
116
":c:func:`PyList_SetItem` "
118
117
"をマクロによる実装で、エラーチェックを行いません。このマクロは、新たなリストのまだ要素を入れたことのない位置に要素を入れるときにのみ使います。"
119
118
120
- #: ../../c-api/list.rst:90
119
+ #: ../../c-api/list.rst:91
121
120
msgid ""
122
121
"This macro\" steals\" a reference to *item*, and, unlike "
123
122
":c:func:`PyList_SetItem`, does *not* discard a reference to any item that is"
@@ -127,7 +126,7 @@ msgstr ""
127
126
"と違って、要素の置き換えが生じても置き換えられるオブジェクトへの参照を放棄 *しません* ; その結果、 *list* 中の位置 *i* "
128
127
"で参照されていたオブジェクトがメモリリークを引き起こします。"
129
128
130
- #: ../../c-api/list.rst:98
129
+ #: ../../c-api/list.rst:99
131
130
msgid ""
132
131
"Insert the item *item* into list *list* in front of index *index*. Return "
133
132
"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
@@ -136,7 +135,7 @@ msgstr ""
136
135
"要素 *item* をリスト *list* のインデックス *index* の前に挿入します。成功すると ``0`` を返します。失敗すると "
137
136
"``-1`` を返し、例外をセットします。``list.insert(index, item)`` に類似した機能です。"
138
137
139
- #: ../../c-api/list.rst:105
138
+ #: ../../c-api/list.rst:106
140
139
msgid ""
141
140
"Append the object *item* at the end of list *list*. Return ``0`` if "
142
141
"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
@@ -145,29 +144,22 @@ msgstr ""
145
144
"オブジェクト *item* を *list* の末尾に追加します。成功すると ``0`` を返します; 失敗すると ``-1`` "
146
145
"を返し、例外をセットします。``list.append(item)`` に類似した機能です。"
147
146
148
- #: ../../c-api/list.rst:112
147
+ #: ../../c-api/list.rst:113
149
148
msgid ""
150
149
"Return a list of the objects in *list* containing the objects *between* "
151
150
"*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."
154
153
msgstr ""
155
- "*list* 内の、*low* から *high* の *間の* オブジェクトからなるリストを返します。失敗すると *NULL* "
156
- "を返し、例外をセットします。``list[low:high]`` に類似した機能です。ただし、Python "
157
- "のスライスにある負のインデックスはサポートされていません。"
158
154
159
155
#: ../../c-api/list.rst:120
160
156
msgid ""
161
157
"Set the slice of *list* between *low* and *high* to the contents of "
162
158
"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
163
159
"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."
166
162
msgstr ""
167
- "*list* 内の、*low* から *high* の間のオブジェクトを、*itemlist* の内容にします。``list[low:high] = "
168
- "itemlist`` と類似の機能です。*itemlist* は *NULL* でもよく、空リストの代入 (指定スライスの削除) "
169
- "になります。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。Python "
170
- "のスライスにある負のインデックスはサポートされていません。"
171
163
172
164
#: ../../c-api/list.rst:129
173
165
msgid ""