8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.6\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2018-01-05 15:01+0000 \n "
11
+ "POT-Creation-Date : 2018-02-21 12:40+0900 \n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : cocoatomo, 2017\n "
14
14
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -33,29 +33,26 @@ msgstr ""
33
33
#: ../../c-api/sequence.rst:20
34
34
msgid ""
35
35
"Returns the number of objects in sequence *o* on success, and ``-1`` on "
36
- "failure. For objects that do not provide sequence protocol, this is "
37
- "equivalent to the Python expression ``len(o)``."
36
+ "failure. This is equivalent to the Python expression ``len(o)``."
38
37
msgstr ""
39
- "成功するとシーケンス *o* 中のオブジェクトの数を返し、失敗すると ``-1`` "
40
- "を返します。シーケンス型プロトコルをサポートしないオブジェクトに対しては、Python の式 ``len(o)`` と同じになります。"
41
38
42
- #: ../../c-api/sequence.rst:27
39
+ #: ../../c-api/sequence.rst:26
43
40
msgid ""
44
41
"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure."
45
42
" This is the equivalent of the Python expression ``o1 + o2``."
46
43
msgstr ""
47
44
"成功すると *o1* と *o2* の連結 (concatenation) を返し、失敗すると *NULL* を返します。Python の式 ``o1 "
48
45
"+ o2`` と同じです。"
49
46
50
- #: ../../c-api/sequence.rst:33
47
+ #: ../../c-api/sequence.rst:32
51
48
msgid ""
52
49
"Return the result of repeating sequence object *o* *count* times, or *NULL* "
53
50
"on failure. This is the equivalent of the Python expression ``o * count``."
54
51
msgstr ""
55
52
"成功するとオブジェクト *o* の *count* 回繰り返しを返し、失敗すると *NULL* を返します。Python の式 ``o * "
56
53
"count`` と同じです。"
57
54
58
- #: ../../c-api/sequence.rst:39
55
+ #: ../../c-api/sequence.rst:38
59
56
msgid ""
60
57
"Return the concatenation of *o1* and *o2* on success, and *NULL* on failure."
61
58
" The operation is done *in-place* when *o1* supports it. This is the "
@@ -64,7 +61,7 @@ msgstr ""
64
61
"成功すると *o1* と *o2* の連結 (concatenation) を返し、失敗すると *NULL* を返します。*o1* が *in-"
65
62
"place* 演算をサポートする場合、in-place 演算を行います。Python の式 ``o1 += o2`` と同じです。"
66
63
67
- #: ../../c-api/sequence.rst:46
64
+ #: ../../c-api/sequence.rst:45
68
65
msgid ""
69
66
"Return the result of repeating sequence object *o* *count* times, or *NULL* "
70
67
"on failure. The operation is done *in-place* when *o* supports it. This is"
@@ -73,21 +70,21 @@ msgstr ""
73
70
"成功するとオブジェクト *o* の *count* 回繰り返しを返し、失敗すると *NULL* を返します。*o* が *in-place* "
74
71
"演算をサポートする場合、in-place 演算を行います。Python の式 ``o *= count`` と同じです。"
75
72
76
- #: ../../c-api/sequence.rst:53
73
+ #: ../../c-api/sequence.rst:52
77
74
msgid ""
78
75
"Return the *i*\\ th element of *o*, or *NULL* on failure. This is the "
79
76
"equivalent of the Python expression ``o[i]``."
80
77
msgstr "成功すると *o* の *i* 番目の要素を返し、失敗すると *NULL* を返します。Python の式 ``o[i]`` と同じです。"
81
78
82
- #: ../../c-api/sequence.rst:59
79
+ #: ../../c-api/sequence.rst:58
83
80
msgid ""
84
81
"Return the slice of sequence object *o* between *i1* and *i2*, or *NULL* on "
85
82
"failure. This is the equivalent of the Python expression ``o[i1:i2]``."
86
83
msgstr ""
87
84
"成功すると *o* の *i1* から *i2* までの間のスライスを返し、失敗すると *NULL* を返します。Python の式 "
88
85
"``o[i1:i2]`` と同じです。"
89
86
90
- #: ../../c-api/sequence.rst:65
87
+ #: ../../c-api/sequence.rst:64
91
88
msgid ""
92
89
"Assign object *v* to the *i*\\ th element of *o*. Raise an exception and "
93
90
"return ``-1`` on failure; return ``0`` on success. This is the equivalent "
@@ -100,29 +97,29 @@ msgstr ""
100
97
"これは Python の文 ``o[i] = v`` と同じです。\n"
101
98
"この関数は *v* への参照を *盗み取りません* 。"
102
99
103
- #: ../../c-api/sequence.rst:70
100
+ #: ../../c-api/sequence.rst:69
104
101
msgid ""
105
102
"If *v* is *NULL*, the element is deleted, however this feature is deprecated"
106
103
" in favour of using :c:func:`PySequence_DelItem`."
107
104
msgstr ""
108
105
"*v* が *NULL* の場合はその要素が削除されますが、この機能は非推奨であり、 :c:func:`PyObject_DelAttr` "
109
106
"を使うのが望ましいです。"
110
107
111
- #: ../../c-api/sequence.rst:76
108
+ #: ../../c-api/sequence.rst:75
112
109
msgid ""
113
110
"Delete the *i*\\ th element of object *o*. Returns ``-1`` on failure. This"
114
111
" is the equivalent of the Python statement ``del o[i]``."
115
112
msgstr ""
116
113
"*o* の *i* 番目の要素を削除します。失敗すると ``-1`` を返します。Python の文 ``del o[i]`` と同じです。"
117
114
118
- #: ../../c-api/sequence.rst:82
115
+ #: ../../c-api/sequence.rst:81
119
116
msgid ""
120
117
"Assign the sequence object *v* to the slice in sequence object *o* from *i1*"
121
118
" to *i2*. This is the equivalent of the Python statement ``o[i1:i2] = v``."
122
119
msgstr ""
123
120
"*o* の *i1* から *i2* までの間のスライスに *v* を代入します。Python の文 ``o[i1:i2] = v`` と同じです。"
124
121
125
- #: ../../c-api/sequence.rst:88
122
+ #: ../../c-api/sequence.rst:87
126
123
msgid ""
127
124
"Delete the slice in sequence object *o* from *i1* to *i2*. Returns ``-1`` "
128
125
"on failure. This is the equivalent of the Python statement ``del "
@@ -131,7 +128,7 @@ msgstr ""
131
128
"シーケンスオブジェクト *o* の *i1* から *i2* までの間のスライスを削除します。失敗すると ``-1`` を返します。Python の文 "
132
129
"``del o[i1:i2]`` と同じです。"
133
130
134
- #: ../../c-api/sequence.rst:94
131
+ #: ../../c-api/sequence.rst:93
135
132
msgid ""
136
133
"Return the number of occurrences of *value* in *o*, that is, return the "
137
134
"number of keys for which ``o[key] == value``. On failure, return ``-1``. "
@@ -140,7 +137,7 @@ msgstr ""
140
137
"*o* における *value* の出現回数、すなわち ``o[key] == value`` となる *key* の個数を返します。失敗すると "
141
138
"``-1`` を返します。Python の式 ``o.count(value)`` と同じです。"
142
139
143
- #: ../../c-api/sequence.rst:101
140
+ #: ../../c-api/sequence.rst:100
144
141
msgid ""
145
142
"Determine if *o* contains *value*. If an item in *o* is equal to *value*, "
146
143
"return ``1``, otherwise return ``0``. On error, return ``-1``. This is "
@@ -150,15 +147,15 @@ msgstr ""
150
147
"を返し、それ以外の場合には ``0`` を返します。エラーが発生すると ``-1`` を返します。Python の式 ``value in o`` "
151
148
"と同じです。"
152
149
153
- #: ../../c-api/sequence.rst:108
150
+ #: ../../c-api/sequence.rst:107
154
151
msgid ""
155
152
"Return the first index *i* for which ``o[i] == value``. On error, return "
156
153
"``-1``. This is equivalent to the Python expression ``o.index(value)``."
157
154
msgstr ""
158
155
"``o[i] == value`` となる最初に見つかったインデクス *i* を返します。エラーが発生すると ``-1`` を返します。Python "
159
156
"の式 ``o.index(value)`` と同じです。"
160
157
161
- #: ../../c-api/sequence.rst:114
158
+ #: ../../c-api/sequence.rst:113
162
159
msgid ""
163
160
"Return a list object with the same contents as the sequence or iterable *o*,"
164
161
" or *NULL* on failure. The returned list is guaranteed to be new. This is "
@@ -169,7 +166,7 @@ msgstr ""
169
166
"返されるリストは新しく作られたことが保証されています。\n"
170
167
"これは Python の式 ``list(o)`` と同等です。"
171
168
172
- #: ../../c-api/sequence.rst:123
169
+ #: ../../c-api/sequence.rst:122
173
170
msgid ""
174
171
"Return a tuple object with the same contents as the arbitrary sequence *o* "
175
172
"or *NULL* on failure. If *o* is a tuple, a new reference will be returned, "
@@ -180,7 +177,7 @@ msgstr ""
180
177
"がタプルの場合、新たな参照を返します。それ以外の場合、適切な内容が入ったタプルを構築して返します。Pythonの式 ``tuple(o)`` "
181
178
"と同じです。"
182
179
183
- #: ../../c-api/sequence.rst:131
180
+ #: ../../c-api/sequence.rst:130
184
181
msgid ""
185
182
"Return the sequence *o* as a list, unless it is already a tuple or list, in "
186
183
"which case *o* is returned. Use :c:func:`PySequence_Fast_GET_ITEM` to "
@@ -191,31 +188,31 @@ msgstr ""
191
188
" :c:func:`PySequence_Fast_GET_ITEM` を使ってください。失敗すると *NULL* "
192
189
"を返します。オブジェクトがシーケンスでなければ、 *m* がメッセージテキストになっている :exc:`TypeError` を送出します。"
193
190
194
- #: ../../c-api/sequence.rst:139
191
+ #: ../../c-api/sequence.rst:138
195
192
msgid ""
196
193
"Return the *i*\\ th element of *o*, assuming that *o* was returned by "
197
194
":c:func:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds."
198
195
msgstr ""
199
196
"*o* が *NULL* でなく、 :c:func:`PySequence_Fast` が返したオブジェクトであり、かつ *i* "
200
197
"がインデクスの範囲内にあると仮定して、 *o* の *i* 番目の要素を返します。"
201
198
202
- #: ../../c-api/sequence.rst:145
199
+ #: ../../c-api/sequence.rst:144
203
200
msgid ""
204
201
"Return the underlying array of PyObject pointers. Assumes that *o* was "
205
202
"returned by :c:func:`PySequence_Fast` and *o* is not *NULL*."
206
203
msgstr ""
207
204
"PyObject ポインタの背後にあるアレイを返します。この関数では、 *o* は :c:func:`PySequence_Fast` "
208
205
"の返したオブジェクトであり、 *NULL* でないものと仮定しています。"
209
206
210
- #: ../../c-api/sequence.rst:148
207
+ #: ../../c-api/sequence.rst:147
211
208
msgid ""
212
209
"Note, if a list gets resized, the reallocation may relocate the items array."
213
210
" So, only use the underlying array pointer in contexts where the sequence "
214
211
"cannot change."
215
212
msgstr ""
216
213
"リストのサイズが変更されるとき、メモリ再確保が要素の配列を再配置するかもしれないことに注意してください。そのため
F987
、シーケンスの変更が発生しないコンテキストでのみ背後にあるポインタを使ってください。"
217
214
218
- #: ../../c-api/sequence.rst:155
215
+ #: ../../c-api/sequence.rst:154
219
216
msgid ""
220
217
"Return the *i*\\ th element of *o* or *NULL* on failure. Macro form of "
221
218
":c:func:`PySequence_GetItem` but without checking that "
@@ -225,7 +222,7 @@ msgstr ""
225
222
"成功すると *o* の *i* 番目の要素を返し、失敗すると *NULL* を返します。 :c:func:`PySequence_GetItem` "
226
223
"ですが、 *o* への :c:func:`PySequence_Check` が真になるかチェックせず、負のインデクスに対する調整を行いません。"
227
224
228
- #: ../../c-api/sequence.rst:163
225
+ #: ../../c-api/sequence.rst:162
229
226
msgid ""
230
227
"Returns the length of *o*, assuming that *o* was returned by "
231
228
":c:func:`PySequence_Fast` and that *o* is not *NULL*. The size can also be "
0 commit comments