Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d5ff31

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parentcc4519f commit1d5ff31

File tree

3 files changed

+4426
-4409
lines changed

3 files changed

+4426
-4409
lines changed

‎c-api/list.po

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.7\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2019-07-07 11:52+0900\n"
14+
"POT-Creation-Date:2019-10-27 03:54+0000\n"
1515
"PO-Revision-Date:2019-09-01 03:40+0000\n"
1616
"Last-Translator:tomo, 2019\n"
1717
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -91,29 +91,28 @@ msgstr "マクロ形式でできた :c:func:`PyList_GetItem` で、エラーチ
9191

9292
#:../../c-api/list.rst:74
9393
msgid""
94-
"Set the item at index *index* in list to *item*. Return ``0`` on success or"
95-
" ``-1`` on failure."
94+
"Set the item at index *index* in list to *item*. Return ``0`` on success. "
95+
"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
96+
"exception."
9697
msgstr""
97-
"リストオブジェクト内の位置 *index* に、オブジェクト *item* を挿入します。成功した場合には ``0`` を返し、失敗すると ``-1``"
98-
" を返します。"
9998

100-
#:../../c-api/list.rst:79
99+
#:../../c-api/list.rst:80
101100
msgid""
102101
"This function\"steals\" a reference to *item* and discards a reference to "
103102
"an item already in the list at the affected position."
104103
msgstr""
105104
"この関数は *item* への参照を\"盗み取り\" "
106105
"ます。また、変更先のインデクスにすでに別の要素が入っている場合、その要素に対する参照を放棄します。"
107106

108-
#:../../c-api/list.rst:85
107+
#:../../c-api/list.rst:86
109108
msgid""
110109
"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
111110
"normally only used to fill in new lists where there is no previous content."
112111
msgstr""
113112
":c:func:`PyList_SetItem` "
114113
"をマクロによる実装で、エラーチェックを行いません。このマクロは、新たなリストのまだ要素を入れたことのない位置に要素を入れるときにのみ使います。"
115114

116-
#:../../c-api/list.rst:90
115+
#:../../c-api/list.rst:91
117116
msgid""
118117
"This macro\"steals\" a reference to *item*, and, unlike "
119118
":c:func:`PyList_SetItem`, does *not* discard a reference to any item that is"
@@ -123,7 +122,7 @@ msgstr ""
123122
"と違って、要素の置き換えが生じても置き換えられるオブジェクトへの参照を放棄 *しません* ; その結果、 *list* 中の位置 *i* "
124123
"で参照されていたオブジェクトがメモリリークを引き起こします。"
125124

126-
#:../../c-api/list.rst:98
125+
#:../../c-api/list.rst:99
127126
msgid""
128127
"Insert the item *item* into list *list* in front of index *index*. Return "
129128
"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
@@ -132,7 +131,7 @@ msgstr ""
132131
"要素 *item* をリスト *list* のインデックス *index* の前に挿入します。成功すると ``0`` を返します。失敗すると "
133132
"``-1`` を返し、例外をセットします。``list.insert(index, item)`` に類似した機能です。"
134133

135-
#:../../c-api/list.rst:105
134+
#:../../c-api/list.rst:106
136135
msgid""
137136
"Append the object *item* at the end of list *list*. Return ``0`` if "
138137
"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
@@ -141,29 +140,22 @@ msgstr ""
141140
"オブジェクト *item* を *list* の末尾に追加します。成功すると ``0`` を返します; 失敗すると ``-1`` "
142141
"を返し、例外をセットします。``list.append(item)`` に類似した機能です。"
143142

144-
#:../../c-api/list.rst:112
143+
#:../../c-api/list.rst:113
145144
msgid""
146145
"Return a list of the objects in *list* containing the objects *between* "
147146
"*low* and *high*. Return *NULL* and set an exception if unsuccessful. "
148-
"Analogous to ``list[low:high]``.Negative indices, as when slicing from "
149-
"Python, are notsupported."
147+
"Analogous to ``list[low:high]``.Indexing from the end of the list is not "
148+
"supported."
150149
msgstr""
151-
"*list* 内の、*low* から *high* の *間の* オブジェクトからなるリストを返します。失敗すると *NULL* "
152-
"を返し、例外をセットします。``list[low:high]`` に類似した機能です。ただし、Python "
153-
"のスライスにある負のインデックスはサポートされていません。"
154150

155151
#:../../c-api/list.rst:120
156152
msgid""
157153
"Set the slice of *list* between *low* and *high* to the contents of "
158154
"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
159155
"be *NULL*, indicating the assignment of an empty list (slice deletion). "
160-
"Return ``0`` on success, ``-1`` on failure.Negative indices, as when "
161-
"slicing from Python, are not supported."
156+
"Return ``0`` on success, ``-1`` on failure.Indexing from the end of the "
157+
"list is not supported."
162158
msgstr""
163-
"*list* 内の、*low* から *high* の間のオブジェクトを、*itemlist* の内容にします。``list[low:high] = "
164-
"itemlist`` と類似の機能です。*itemlist* は *NULL* でもよく、空リストの代入 (指定スライスの削除) "
165-
"になります。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。Python "
166-
"のスライスにある負のインデックスはサポートされていません。"
167159

168160
#:../../c-api/list.rst:129
169161
msgid""

‎c-api/tuple.po

Lines changed: 59 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.7\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2019-01-01 10:14+0900\n"
14+
"POT-Creation-Date:2019-10-27 03:54+0000\n"
1515
"PO-Revision-Date:2019-09-01 03:40+0000\n"
1616
"Last-Translator:tomo, 2019\n"
1717
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -79,43 +79,51 @@ msgstr ""
7979
#:../../c-api/tuple.rst:59
8080
msgid""
8181
"Return the object at position *pos* in the tuple pointed to by *p*. If "
82-
"*pos* is out of bounds, return *NULL* andsets an :exc:`IndexError` "
82+
"*pos* is out of bounds, return *NULL* andset an :exc:`IndexError` "
8383
"exception."
8484
msgstr""
85-
"*p* の指すタプルオブジェクト内の、位置 *pos* にあるオブジェクトを返します。 *pos* が範囲を超えている場合、 *NULL* を返して "
86-
":exc:`IndexError` 例外をセットします。"
8785

8886
#:../../c-api/tuple.rst:65
8987
msgid"Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
9088
msgstr":c:func:`PyTuple_GetItem` に似ていますが、引数に対するエラーチェックを行いません。"
9189

9290
#:../../c-api/tuple.rst:70
9391
msgid""
94-
"Take a slice of the tuple pointed to by *p* from *low* to *high* and return "
95-
"it as a new tuple."
96-
msgstr"*p* の指すタプルオブジェクト内の、位置 *low* から *high* までのスライスを取り出して、タプルオブジェクトとして返します。"
92+
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or"
93+
" *NULL* on failure. This is the equivalent of the Python expression "
94+
"``p[low:high]``. Indexing from the end of the list is not supported."
95+
msgstr""
9796

98-
#:../../c-api/tuple.rst:76
97+
#:../../c-api/tuple.rst:77
9998
msgid""
10099
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
101-
"by *p*. Return ``0`` on success."
100+
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
101+
"and set an :exc:`IndexError` exception."
102102
msgstr""
103-
"*p* の指すタプルオブジェクト内の位置 *pos* に、オブジェクト *o* への参照を挿入します。成功した場合には ``0`` を返します。"
104103

105-
#:../../c-api/tuple.rst:81../../c-api/tuple.rst:91../../c-api/tuple.rst:209
106-
#:../../c-api/tuple.rst:218
107-
msgid"This function\"steals\" a reference to *o*."
108-
msgstr"この関数は *o* への参照を\"盗み取り\" ます。"
104+
#:../../c-api/tuple.rst:83
105+
msgid""
106+
"This function\"steals\" a reference to *o* and discards a reference to an "
107+
"item already in the tuple at the affected position."
108+
msgstr""
109109

110-
#:../../c-api/tuple.rst:86
110+
#:../../c-api/tuple.rst:89
111111
msgid""
112112
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
113113
"*only* be used to fill in brand new tuples."
114114
msgstr""
115115
":c:func:`PyTuple_SetItem` に似ていますが、エラーチェックを行わず、新たなタプルに値を入れるとき *以外には使ってはなりません*"
116116
" 。"
117117

118-
#:../../c-api/tuple.rst:96
118+
#:../../c-api/tuple.rst:94
119+
msgid""
120+
"This macro\"steals\" a reference to *o*, and, unlike "
121+
":c:func:`PyTuple_SetItem`, does *not* discard a reference to any item that "
122+
"is being replaced; any reference in the tuple at position *pos* will be "
123+
"leaked."
124+
msgstr""
125+
126+
#:../../c-api/tuple.rst:102
119127
msgid""
120128
"Can be used to resize a tuple. *newsize* will be the new length of the "
121129
"tuple. Because tuples are *supposed* to be immutable, this should only be "
@@ -136,15 +144,15 @@ msgstr ""
136144
"``-1`` を返し、 ``*p`` を *NULL* に設定して、 :exc:`MemoryError` または "
137145
":exc:`SystemError` を送出します。"
138146

139-
#:../../c-api/tuple.rst:110
147+
#:../../c-api/tuple.rst:116
140148
msgid"Clear the free list. Return the total number of freed items."
141149
msgstr"フリーリストをクリアします。解放された要素数を返します。"
142150

143-
#:../../c-api/tuple.rst:114
151+
#:../../c-api/tuple.rst:120
144152
msgid"Struct Sequence Objects"
145153
msgstr"Struct Sequence オブジェクト"
146154

147-
#:../../c-api/tuple.rst:116
155+
#:../../c-api/tuple.rst:122
148156
msgid""
149157
"Struct sequence objects are the C equivalent of "
150158
":func:`~collections.namedtuple` objects, i.e. a sequence whose items can "
@@ -155,7 +163,7 @@ msgstr ""
155163
"オブジェクトです。 つまり、その要素に属性を通してアクセスすることができるシーケンスです。 struct sequence "
156164
"を生成するには、まず特定のstruct sequence 型を生成しなければなりません。"
157165

158-
#:../../c-api/tuple.rst:123
166+
#:../../c-api/tuple.rst:129
159167
msgid""
160168
"Create a new struct sequence type from the data in *desc*, described below. "
161169
"Instances of the resulting type can be created with "
@@ -164,79 +172,79 @@ msgstr ""
164172
"後述の *desc* 中のデータから新しい struct sequence 型を生成します。返される型のインスタンスは "
165173
":c:func:`PyStructSequence_New` で生成できます。"
166174

167-
#:../../c-api/tuple.rst:129
175+
#:../../c-api/tuple.rst:135
168176
msgid"Initializes a struct sequence type *type* from *desc* in place."
169177
msgstr"struct sequence 型である *type* を *desc* をもとにその場で初期化します。"
170178

171-
#:../../c-api/tuple.rst:134
179+
#:../../c-api/tuple.rst:140
172180
msgid""
173181
"The same as ``PyStructSequence_InitType``, but returns ``0`` on success and "
174182
"``-1`` on failure."
175183
msgstr""
176184
"``PyStructSequence_InitType`` と同じですが、成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
177185

178-
#:../../c-api/tuple.rst:142
186+
#:../../c-api/tuple.rst:148
179187
msgid"Contains the meta information of a struct sequence type to create."
180188
msgstr"生成するstruct sequence 型のメタデータを保持します。"
181189

182-
#:../../c-api/tuple.rst:145../../c-api/tuple.rst:168
190+
#:../../c-api/tuple.rst:151../../c-api/tuple.rst:174
183191
msgid"Field"
184192
msgstr"フィールド"
185193

186-
#:../../c-api/tuple.rst:145../../c-api/tuple.rst:168
194+
#:../../c-api/tuple.rst:151../../c-api/tuple.rst:174
187195
msgid"C Type"
188196
msgstr"C の型"
189197

190-
#:../../c-api/tuple.rst:145../../c-api/tuple.rst:168
198+
#:../../c-api/tuple.rst:151../../c-api/tuple.rst:174
191199
msgid"Meaning"
192200
msgstr"意味"
193201

194-
#:../../c-api/tuple.rst:147../../c-api/tuple.rst:170
202+
#:../../c-api/tuple.rst:153../../c-api/tuple.rst:176
195203
msgid"``name``"
196204
msgstr"``name``"
197205

198-
#:../../c-api/tuple.rst:147../../c-api/tuple.rst:149
199-
#:../../c-api/tuple.rst:170../../c-api/tuple.rst:175
206+
#:../../c-api/tuple.rst:153../../c-api/tuple.rst:155
207+
#:../../c-api/tuple.rst:176../../c-api/tuple.rst:181
200208
msgid"``const char *``"
201209
msgstr"``const char *``"
202210

203-
#:../../c-api/tuple.rst:147
211+
#:../../c-api/tuple.rst:153
204212
msgid"name of the struct sequence type"
205213
msgstr"生成するstruct sequence 型の名前"
206214

207-
#:../../c-api/tuple.rst:149../../c-api/tuple.rst:175
215+
#:../../c-api/tuple.rst:155../../c-api/tuple.rst:181
208216
msgid"``doc``"
209217
msgstr"``doc``"
210218

211-
#:../../c-api/tuple.rst:149
219+
#:../../c-api/tuple.rst:155
212220
msgid"pointer to docstring for the type or NULL to omit"
213221
msgstr"生成する型のdocstringへのポインタ、または省略する場合は NULL"
214222

215-
#:../../c-api/tuple.rst:152
223+
#:../../c-api/tuple.rst:158
216224
msgid"``fields``"
217225
msgstr"``fields``"
218226

219-
#:../../c-api/tuple.rst:152
227+
#:../../c-api/tuple.rst:158
220228
msgid"``PyStructSequence_Field *``"
221229
msgstr"``PyStructSequence_Field *``"
222230

223-
#:../../c-api/tuple.rst:152
231+
#:../../c-api/tuple.rst:158
224232
msgid"pointer to *NULL*-terminated array with field names of the new type"
225233
msgstr"新しい型のフィールド名を格納した *NULL* 終端された配列へのポインタ"
226234

227-
#:../../c-api/tuple.rst:155
235+
#:../../c-api/tuple.rst:161
228236
msgid"``n_in_sequence``"
229237
msgstr"``n_in_sequence``"
230238

231-
#:../../c-api/tuple.rst:155
239+
#:../../c-api/tuple.rst:161
232240
msgid"``int``"
233241
msgstr"``int``"
234242

235-
#:../../c-api/tuple.rst:155
243+
#:../../c-api/tuple.rst:161
236244
msgid"number of fields visible to the Python side (if used as tuple)"
237245
msgstr"Python 側で可視となるフィールドの数 (もしタプルとして使用する場合)"
238246

239-
#:../../c-api/tuple.rst:162
247+
#:../../c-api/tuple.rst:168
240248
msgid""
241249
"Describes a field of a struct sequence. As a struct sequence is modeled as a"
242250
" tuple, all fields are typed as :c:type:`PyObject\\*`. The index in the "
@@ -247,41 +255,41 @@ msgstr ""
247255
":c:type:`PyObject\\*` として型付けされます。 :c:type:`PyStructSequence_Desc` の "
248256
":attr:`fields` 配列の添え字によって struct sequenceのどのフィールドについて記載しているかが決まります。"
249257

250-
#:../../c-api/tuple.rst:170
258+
#:../../c-api/tuple.rst:176
251259
msgid""
252260
"name for the field or *NULL* to end the list of named fields, set to "
253261
"PyStructSequence_UnnamedField to leave unnamed"
254262
msgstr""
255263
"フィールドの名前。もし名前づけされたフィールドのリストの終端を表す場合は "
256264
"*NULL*。名前がないままにする場合は、PyStructSequence_UnnamedField を設定します"
257265

258-
#:../../c-api/tuple.rst:175
266+
#:../../c-api/tuple.rst:181
259267
msgid"field docstring or *NULL* to omit"
260268
msgstr"フィールドのdocstring、省略する場合は *NULL*"
261269

262-
#:../../c-api/tuple.rst:181
270+
#:../../c-api/tuple.rst:187
263271
msgid"Special value for a field name to leave it unnamed."
264272
msgstr"フィールド名を名前がないままするための特殊な値。"
265273

266-
#:../../c-api/tuple.rst:186
274+
#:../../c-api/tuple.rst:192
267275
msgid""
268276
"Creates an instance of *type*, which must have been created with "
269277
":c:func:`PyStructSequence_NewType`."
270278
msgstr""
271279
"*type* のインスタンスを生成します。 *type* は :c:func:`PyStructSequence_NewType` "
272280
"によって事前に生成していなければなりません。"
273281

274-
#:../../c-api/tuple.rst:192
282+
#:../../c-api/tuple.rst:198
275283
msgid""
276284
"Return the object at position *pos* in the struct sequence pointed to by "
277285
"*p*. No bounds checking is performed."
278286
msgstr"*p* の指すstruct sequence内の、位置 *pos* にあるオブジェクトを返します。境界チェックを行いません。"
279287

280-
#:../../c-api/tuple.rst:198
288+
#:../../c-api/tuple.rst:204
281289
msgid"Macro equivalent of :c:func:`PyStructSequence_GetItem`."
282290
msgstr":c:func:`PyStructSequence_GetItem` と同等のマクロです。"
283291

284-
#:../../c-api/tuple.rst:203
292+
#:../../c-api/tuple.rst:209
285293
msgid""
286294
"Sets the field at index *pos* of the struct sequence *p* to value *o*. Like"
287295
" :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand new "
@@ -290,6 +298,10 @@ msgstr ""
290298
"struct sequence *p* の *pos* の位置にあるフィールドに値 *o* "
291299
"を設定します。:c:func:`PyTuple_SET_ITEM` のように、生成したてのインスタンスに対してのみ使用すべきです。"
292300

293-
#:../../c-api/tuple.rst:214
301+
#:../../c-api/tuple.rst:215../../c-api/tuple.rst:224
302+
msgid"This function\"steals\" a reference to *o*."
303+
msgstr"この関数は *o* への参照を\"盗み取り\" ます。"
304+
305+
#:../../c-api/tuple.rst:220
294306
msgid"Macro equivalent of :c:func:`PyStructSequence_SetItem`."
295307
msgstr":c:func:`PyStructSequence_SetItem` と同等のマクロ。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp