88msgstr ""
99"Project-Id-Version : Python 2.7\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-07-07 17:00 +0900\n "
12- "PO-Revision-Date : 2019-07-28 07:53 +0000\n "
11+ "POT-Creation-Date : 2019-10-27 17:55 +0900\n "
12+ "PO-Revision-Date : 2019-10-27 08:58 +0000\n "
1313"Last-Translator : tomo\n "
1414"Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
1515"MIME-Version : 1.0\n "
@@ -96,7 +96,7 @@ msgid ""
9696"and set an :exc:`IndexError` exception."
9797msgstr "*list* の指すリストオブジェクト内の、位置 *index* にあるオブジェクトを返します。\n位置は非負である必要があり、リスト終端からのインデックスはサポートされていません。\n*index* が範囲を超えている場合、 *NULL* を返して :exc:`IndexError` 例外をセットします。"
9898
99- #: ../../c-api/list.rst:83 ../../c-api/list.rst:107 ../../c-api/list.rst:135
99+ #: ../../c-api/list.rst:83 ../../c-api/list.rst:108 ../../c-api/list.rst:136
100100msgid ""
101101"This function used an :c:type:`int` for *index*. This might require changes "
102102"in your code for properly supporting 64-bit systems."
@@ -106,58 +106,59 @@ msgstr "この関数は以前は *index* の型に :c:type:`int` を利用して
106106msgid "Macro form of :c:func:`PyList_GetItem` without error checking."
107107msgstr "マクロ形式でできた :c:func:`PyList_GetItem` で、エラーチェックをしません。"
108108
109- #: ../../c-api/list.rst:92 ../../c-api/list.rst:124
109+ #: ../../c-api/list.rst:92 ../../c-api/list.rst:125
110110msgid ""
111111"This macro used an :c:type:`int` for *i*. This might require changes in your"
112112" code for properly supporting 64-bit systems."
113113msgstr "このマクロは以前は *i* の型に :c:type:`int` を利用していました。この変更により、 64 bit システムを正しくサポートするには修正が必要になります。"
114114
115115#: ../../c-api/list.rst:99
116116msgid ""
117- "Set the item at index *index* in list to *item*. Return ``0`` on success or"
118- " ``-1`` on failure."
119- msgstr "リストオブジェクト内の位置 *index* に、オブジェクト *item* を挿入します。成功した場合には ``0`` を返し、失敗すると ``-1`` を返します。"
117+ "Set the item at index *index* in list to *item*. Return ``0`` on success. "
118+ "If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
119+ "exception."
120+ msgstr ""
120121
121- #: ../../c-api/list.rst:104
122+ #: ../../c-api/list.rst:105
122123msgid ""
123124"This function \" steals\" a reference to *item* and discards a reference to "
124125"an item already in the list at the affected position."
125126msgstr "この関数は *item* への参照を \" 盗み取り\" ます。また、変更先のインデクスにすでに別の要素が入っている場合、その要素に対する参照を放棄します。"
126127
127- #: ../../c-api/list.rst:114
128+ #: ../../c-api/list.rst:115
128129msgid ""
129130"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
130131"normally only used to fill in new lists where there is no previous content."
131132msgstr ":c:func:`PyList_SetItem` をマクロによる実装で、エラーチェック��行いません。このマクロは、新たなリストのまだ要素を入れたことのない位置に要素を入れるときにのみ使います。"
132133
133- #: ../../c-api/list.rst:119
134+ #: ../../c-api/list.rst:120
134135msgid ""
135136"This macro \" steals\" a reference to *item*, and, unlike "
136137":c:func:`PyList_SetItem`, does *not* discard a reference to any item that it"
137138" being replaced; any reference in *list* at position *i* will be leaked."
138139msgstr "このマクロは *item* への参照を \" 盗み取り\" ます。また、 :c:func:`PyList_SetItem` と違って、要素の置き換えが生じても置き換えられるオブジェクトへの参照を放棄 *しません* ; その結果、 *list* 中の位置 *i* で参照されていたオブジェクトがメモリリークを引き起こします。"
139140
140- #: ../../c-api/list.rst:131
141+ #: ../../c-api/list.rst:132
141142msgid ""
142143"Insert the item *item* into list *list* in front of index *index*. Return "
143144"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
144145"Analogous to ``list.insert(index, item)``."
145146msgstr "要素 *item* をリスト *list* のインデックス *index* の前に挿入します。成功すると ``0`` を返します。失敗すると ``-1`` を返し、例外をセットします。``list.insert(index, item)`` に類似した機能です。"
146147
147- #: ../../c-api/list.rst:142
148+ #: ../../c-api/list.rst:143
148149msgid ""
149150"Append the object *item* at the end of list *list*. Return ``0`` if "
150151"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
151152"to ``list.append(item)``."
152153msgstr "オブジェクト *item* を *list* の末尾に追加します。成功すると ``0`` を返します; 失敗すると ``-1`` を返し、例外をセットします。``list.append(item)`` に類似した機能です。"
153154
154- #: ../../c-api/list.rst:149
155+ #: ../../c-api/list.rst:150
155156msgid ""
156157"Return a list of the objects in *list* containing the objects *between* "
157158"*low* and *high*. Return *NULL* and set an exception if unsuccessful. "
158- "Analogous to ``list[low:high]``. Negative indices, as when slicing from "
159- "Python, are not supported."
160- msgstr "*list* 内の、*low* から *high* の *間の* オブジェクトからなるリストを返します。失敗すると *NULL* を返し、例外をセットします。``list[low:high]`` に類似した機能です。ただし、Python のスライスにある負のインデックスはサポートされていません。 "
159+ "Analogous to ``list[low:high]``. Indexing from the end of the list is not "
160+ "supported."
161+ msgstr ""
161162
162163#: ../../c-api/list.rst:154 ../../c-api/list.rst:167
163164msgid ""
@@ -170,9 +171,9 @@ msgid ""
170171"Set the slice of *list* between *low* and *high* to the contents of "
171172"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
172173"be *NULL*, indicating the assignment of an empty list (slice deletion). "
173- "Return ``0`` on success, ``-1`` on failure. Negative indices, as when "
174- "slicing from Python, are not supported."
175- msgstr "*list* 内の、*low* から *high* の間のオブジェクトを、*itemlist* の内容にします。``list[low:high] = itemlist`` と類似の機能です。*itemlist* は *NULL* でもよく、空リストの代入 (指定スライスの削除) になります。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。Python のスライスにある負のインデックスはサポートされていません。 "
174+ "Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
175+ "list is not supported."
176+ msgstr ""
176177
177178#: ../../c-api/list.rst:174
178179msgid ""
0 commit comments