99msgstr ""
1010"Project-Id-Version : Python 2.7\n "
1111"Report-Msgid-Bugs-To : \n "
12- "POT-Creation-Date : 2018-01-21 01:52 +0900\n "
13- "PO-Revision-Date : 2018-01-20 20:55 +0000\n "
12+ "POT-Creation-Date : 2018-02-26 12:43 +0900\n "
13+ "PO-Revision-Date : 2018-02-26 03:47 +0000\n "
1414"Last-Translator : cocoatomo\n "
1515"Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
1616"MIME-Version : 1.0\n "
@@ -32,191 +32,190 @@ msgstr "オブジェクトがシーケンス型プロトコルを提供してい
3232#: ../../c-api/sequence.rst:20
3333msgid ""
3434"Returns the number of objects in sequence *o* on success, and ``-1`` on "
35- "failure. For objects that do not provide sequence protocol, this is "
36- "equivalent to the Python expression ``len(o)``."
37- msgstr "成功するとシーケンス *o* 中のオブジェクトの数を返し、失敗すると ``-1`` を返します。シーケンス型プロトコルをサポートしないオブジェクトに対しては、Python の式 ``len(o)`` と同じになります。"
35+ "failure. This is equivalent to the Python expression ``len(o)``."
36+ msgstr ""
3837
39- #: ../../c-api/sequence.rst:24
38+ #: ../../c-api/sequence.rst:23
4039msgid ""
4140"These functions returned an :c:type:`int` type. This might require changes "
4241"in your code for properly supporting 64-bit systems."
4342msgstr "これらの関数は以前は :c:type:`int` を返していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
4443
45- #: ../../c-api/sequence.rst:31
44+ #: ../../c-api/sequence.rst:30
4645msgid ""
4746"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure."
4847" This is the equivalent of the Python expression ``o1 + o2``."
4948msgstr "成功すると *o1* と *o2* の連結 (concatenation) を返し、失敗すると *NULL* を返します。Python の式 ``o1 + o2`` と同じです。"
5049
51- #: ../../c-api/sequence.rst:37
50+ #: ../../c-api/sequence.rst:36
5251msgid ""
5352"Return the result of repeating sequence object *o* *count* times, or *NULL* "
5453"on failure. This is the equivalent of the Python expression ``o * count``."
5554msgstr "成功するとオブジェクト *o* の *count* 回繰り返しを返し、失敗すると *NULL* を返します。Python の式 ``o * count`` と同じです。"
5655
57- #: ../../c-api/sequence.rst:40 ../../c-api/sequence.rst:58
56+ #: ../../c-api/sequence.rst:39 ../../c-api/sequence.rst:57
5857msgid ""
5958"This function used an :c:type:`int` type for *count*. This might require "
6059"changes in your code for properly supporting 64-bit systems."
6160msgstr "この関数は以前は *count* の型に :c:type:`int` を利用していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
6261
63- #: ../../c-api/sequence.rst:47
62+ #: ../../c-api/sequence.rst:46
6463msgid ""
6564"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure."
6665" The operation is done *in-place* when *o1* supports it. This is the "
6766"equivalent of the Python expression ``o1 += o2``."
6867msgstr "成功すると *o1* と *o2* の連結 (concatenation) を返し、失敗すると *NULL* を返します。*o1* が *in-place* 演算をサポートする場合、in-place 演算を行います。Python の式 ``o1 += o2`` と同じです。"
6968
70- #: ../../c-api/sequence.rst:54
69+ #: ../../c-api/sequence.rst:53
7170msgid ""
7271"Return the result of repeating sequence object *o* *count* times, or *NULL* "
7372"on failure. The operation is done *in-place* when *o* supports it. This is"
7473" the equivalent of the Python expression ``o *= count``."
7574msgstr "成功するとオブジェクト *o* の *count* 回繰り返しを返し、失敗すると *NULL* を返します。*o* が *in-place* 演算をサポートする場合、in-place 演算を行います。Python の式 ``o *= count`` と同じです。"
7675
77- #: ../../c-api/sequence.rst:65
76+ #: ../../c-api/sequence.rst:64
7877msgid ""
7978"Return the *i*\\ th element of *o*, or *NULL* on failure. This is the "
8079"equivalent of the Python expression ``o[i]``."
8180msgstr "成功すると *o* の *i* 番目の要素を返し、失敗すると *NULL* を返します。Python の式 ``o[i]`` と同じです。"
8281
83- #: ../../c-api/sequence.rst:68 ../../c-api/sequence.rst:93
84- #: ../../c-api/sequence.rst:103 ../../c-api/sequence.rst:189
85- #: ../../c-api/sequence.rst:215
82+ #: ../../c-api/sequence.rst:67 ../../c-api/sequence.rst:92
83+ #: ../../c-api/sequence.rst:102 ../../c-api/sequence.rst:188
84+ #: ../../c-api/sequence.rst:214
8685msgid ""
8786"This function used an :c:type:`int` type for *i*. This might require changes"
8887" in your code for properly supporting 64-bit systems."
8988msgstr "この関数は以前は *i* の型に :c:type:`int` を利用していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
9089
91- #: ../../c-api/sequence.rst:75
90+ #: ../../c-api/sequence.rst:74
9291msgid ""
9392"Return the slice of sequence object *o* between *i1* and *i2*, or *NULL* on "
9493"failure. This is the equivalent of the Python expression ``o[i1:i2]``."
9594msgstr "成功すると *o* の *i1* から *i2* までの間のスライスを返し、失敗すると *NULL* を返します。Python の式 ``o[i1:i2]`` と同じです。"
9695
97- #: ../../c-api/sequence.rst:78 ../../c-api/sequence.rst:117
98- #: ../../c-api/sequence.rst:127
96+ #: ../../c-api/sequence.rst:77 ../../c-api/sequence.rst:116
97+ #: ../../c-api/sequence.rst:126
9998msgid ""
10099"This function used an :c:type:`int` type for *i1* and *i2*. This might "
101100"require changes in your code for properly supporting 64-bit systems."
102101msgstr "この関数は以前は *i1*, *i2* の型に :c:type:`int` を利用していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
103102
104- #: ../../c-api/sequence.rst:85
103+ #: ../../c-api/sequence.rst:84
105104msgid ""
106105"Assign object *v* to the *i*\\ th element of *o*. Raise an exception and "
107106"return ``-1`` on failure; return ``0`` on success. This is the equivalent "
108107"of the Python statement ``o[i] = v``. This function *does not* steal a "
109108"reference to *v*."
110109msgstr "*o* の *i* 番目の要素に *v* を代入します。\n失敗すると、例外を送出し ``-1`` を返します;\n成功すると ``0`` を返します。\nこれは Python の文 ``o[i] = v`` と同じです。\nこの関数は *v* への参照を *盗み取りません* 。"
111110
112- #: ../../c-api/sequence.rst:90
111+ #: ../../c-api/sequence.rst:89
113112msgid ""
114113"If *v* is *NULL*, the element is deleted, however this feature is deprecated"
115114" in favour of using :c:func:`PySequence_DelItem`."
116115msgstr "*v* が *NULL* の場合はその要素が削除されますが、この機能は非推奨であり、 :c:func:`PyObject_DelAttr` を使うのが望ましいです。"
117116
118- #: ../../c-api/sequence.rst:100
117+ #: ../../c-api/sequence.rst:99
119118msgid ""
120119"Delete the *i*\\ th element of object *o*. Returns ``-1`` on failure. This"
121120" is the equivalent of the Python statement ``del o[i]``."
122121msgstr "*o* の *i* 番目の要素を削除します。失敗すると ``-1`` を返します。Python の文 ``del o[i]`` と同じです。"
123122
124- #: ../../c-api/sequence.rst:110
123+ #: ../../c-api/sequence.rst:109
125124msgid ""
126125"Assign the sequence object *v* to the slice in sequence object *o* from *i1*"
127126" to *i2*. Raise an exception and return ``-1`` on failure; return ``0`` on "
128127"success. This is the equivalent of the Python statement ``o[i1:i2] = v``."
129128msgstr "シーケンスオブジェクト *o* の *i1* から *i2* までのスライスに、シーケンスオブジェクト *v* を代入します。\n失敗すると例外を送出し ``-1`` を返します; 成功すると ``0`` を返します。\nこれは Python の文 ``o[i1:i2] = v`` と同じです。"
130129
131- #: ../../c-api/sequence.rst:114
130+ #: ../../c-api/sequence.rst:113
132131msgid ""
133132"If *v* is *NULL*, the slice is deleted, however this feature is deprecated "
134133"in favour of using :c:func:`PySequence_DelSlice`."
135134msgstr "*v* が *NULL* の場合はスライスは削除されますが、この機能は非推奨であり :c:func:`PySequence_DelSlice` を使うのが望ましいです。"
136135
137- #: ../../c-api/sequence.rst:124
136+ #: ../../c-api/sequence.rst:123
138137msgid ""
139138"Delete the slice in sequence object *o* from *i1* to *i2*. Returns ``-1`` "
140139"on failure. This is the equivalent of the Python statement ``del "
141140"o[i1:i2]``."
142141msgstr "シーケンスオブジェクト *o* の *i1* から *i2* までの間のスライスを削除します。失敗すると ``-1`` を返します。Python の文 ``del o[i1:i2]`` と同じです。"
143142
144- #: ../../c-api/sequence.rst:134
143+ #: ../../c-api/sequence.rst:133
145144msgid ""
146145"Return the number of occurrences of *value* in *o*, that is, return the "
147146"number of keys for which ``o[key] == value``. On failure, return ``-1``. "
148147"This is equivalent to the Python expression ``o.count(value)``."
149148msgstr "*o* における *value* の出現回数、すなわち ``o[key] == value`` となる *key* の個数を返します。失敗すると ``-1`` を返します。Python の式 ``o.count(value)`` と同じです。"
150149
151- #: ../../c-api/sequence.rst:138 ../../c-api/sequence.rst:155
150+ #: ../../c-api/sequence.rst:137 ../../c-api/sequence.rst:154
152151msgid ""
153152"This function returned an :c:type:`int` type. This might require changes in "
154153"your code for properly supporting 64-bit systems."
155154msgstr "この関数は以前は :c:type:`int` を返していました。この変更により、 64 bit システムを正しくサポートするには修正が必要になります。"
156155
157- #: ../../c-api/sequence.rst:145
156+ #: ../../c-api/sequence.rst:144
158157msgid ""
159158"Determine if *o* contains *value*. If an item in *o* is equal to *value*, "
160159"return ``1``, otherwise return ``0``. On error, return ``-1``. This is "
161160"equivalent to the Python expression ``value in o``."
162161msgstr "*o* に *value* が入っているか判定します。*o* のある要素が *value* と等価 (equal) ならば ``1`` を返し、それ以外の場合には ``0`` を返します。エラーが発生すると ``-1`` を返します。Python の式 ``value in o`` と同じです。"
163162
164- #: ../../c-api/sequence.rst:152
163+ #: ../../c-api/sequence.rst:151
165164msgid ""
166165"Return the first index *i* for which ``o[i] == value``. On error, return "
167166"``-1``. This is equivalent to the Python expression ``o.index(value)``."
168167msgstr "``o[i] == value`` となる最初に見つかったインデクス *i* を返します。エラーが発生すると ``-1`` を返します。Python の式 ``o.index(value)`` と同じです。"
169168
170- #: ../../c-api/sequence.rst:162
169+ #: ../../c-api/sequence.rst:161
171170msgid ""
172171"Return a list object with the same contents as the arbitrary sequence *o*. "
173172"The returned list is guaranteed to be new."
174173msgstr "任意のシーケンス *o* と同じ内容を持つリストオブジェクトを返します。返されるリストは必ず新しいリストオブジェクトになります。"
175174
176- #: ../../c-api/sequence.rst:170
175+ #: ../../c-api/sequence.rst:169
177176msgid ""
178177"Return a tuple object with the same contents as the arbitrary sequence *o* "
179178"or *NULL* on failure. If *o* is a tuple, a new reference will be returned, "
180179"otherwise a tuple will be constructed with the appropriate contents. This "
181180"is equivalent to the Python expression ``tuple(o)``."
182181msgstr "任意のシーケンス *o* と同じ内容を持つタプルオブジェクトを返します。失敗したら *NULL* を返します。*o* がタプルの場合、新たな参照を返します。それ以外の場合、適切な内容が入ったタプルを構築して返します。Pythonの式 ``tuple(o)`` と同じです。"
183182
184- #: ../../c-api/sequence.rst:178
183+ #: ../../c-api/sequence.rst:177
185184msgid ""
186185"Return the sequence *o* as a list, unless it is already a tuple or list, in "
187186"which case *o* is returned. Use :c:func:`PySequence_Fast_GET_ITEM` to "
188187"access the members of the result. Returns *NULL* on failure. If the object"
189188" is not a sequence, raises :exc:`TypeError` with *m* as the message text."
190189msgstr "シーケンス *o* がすでにタプルやリストであれば *o* を返し、そうでなければ *o* をタプルで返します。返されるタプルのメンバにアクセスするには :c:func:`PySequence_Fast_GET_ITEM` を使ってください。失敗すると *NULL* を返します。オブジェクトがシーケンスでなければ、 *m* がメッセージテキストになっている :exc:`TypeError` を送出します。"
191190
192- #: ../../c-api/sequence.rst:186
191+ #: ../../c-api/sequence.rst:185
193192msgid ""
194193"Return the *i*\\ th element of *o*, assuming that *o* was returned by "
195194":c:func:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds."
196195msgstr "*o* が *NULL* でなく、 :c:func:`PySequence_Fast` が返したオブジェクトであり、かつ *i* がインデクスの範囲内にあると仮定して、 *o* の *i* 番目の要素を返します。"
197196
198- #: ../../c-api/sequence.rst:196
197+ #: ../../c-api/sequence.rst:195
199198msgid ""
200199"Return the underlying array of PyObject pointers. Assumes that *o* was "
201200"returned by :c:func:`PySequence_Fast` and *o* is not *NULL*."
202201msgstr "PyObject ポインタの背後にあるアレイを返します。この関数では、 *o* は :c:func:`PySequence_Fast` の返したオブジェクトであり、 *NULL* でないものと仮定しています。"
203202
204- #: ../../c-api/sequence.rst:199
203+ #: ../../c-api/sequence.rst:198
205204msgid ""
206205"Note, if a list gets resized, the reallocation may relocate the items array."
207206" So, only use the underlying array pointer in contexts where the sequence "
208207"cannot change."
209208msgstr "リストのサイズが変更されるとき、メモリ再確保が要素の配列を再配置するかもしれないことに注意してください。そのため、シーケンスの変更が発生しないコンテキストでのみ背後にあるポインタを使ってください。"
210209
211- #: ../../c-api/sequence.rst:208
210+ #: ../../c-api/sequence.rst:207
212211msgid ""
213212"Return the *i*\\ th element of *o* or *NULL* on failure. Macro form of "
214213":c:func:`PySequence_GetItem` but without checking that "
215214":c:func:`PySequence_Check` on *o* is true and without adjustment for "
216215"negative indices."
217216msgstr "成功すると *o* の *i* 番目の要素を返し、失敗すると *NULL* を返します。 :c:func:`PySequence_GetItem` ですが、 *o* への :c:func:`PySequence_Check` が真になるかチェックせず、負のインデクスに対する調整を行いません。"
218217
219- #: ../../c-api/sequence.rst:222
218+ #: ../../c-api/sequence.rst:221
220219msgid ""
221220"Returns the length of *o*, assuming that *o* was returned by "
222221":c:func:`PySequence_Fast` and that *o* is not *NULL*. The size can also be "
0 commit comments