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