Skip to content

Commit 0099d63

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent ed7bf1a commit 0099d63

File tree

4 files changed

+2793
-2748
lines changed

4 files changed

+2793
-2748
lines changed

c-api/long.po

Lines changed: 79 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.6\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-01-05 15:01+0000\n"
11+
"POT-Creation-Date: 2018-01-30 12:25+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: cocoatomo, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -27,38 +27,45 @@ msgid ""
2727
"All integers are implemented as \"long\" integer objects of arbitrary size."
2828
msgstr "すべての整数は任意の長さをもつ \"long\" 整数として実装されます。"
2929

30-
#: ../../c-api/long.rst:15
30+
#: ../../c-api/long.rst:13
31+
msgid ""
32+
"On error, most ``PyLong_As*`` APIs return ``(return type)-1`` which cannot "
33+
"be distinguished from a number. Use :c:func:`PyErr_Occurred` to "
34+
"disambiguate."
35+
msgstr ""
36+
37+
#: ../../c-api/long.rst:18
3138
msgid "This subtype of :c:type:`PyObject` represents a Python integer object."
3239
msgstr "この :c:type:`PyObject` のサブタイプは整数型を表現します。"
3340

34-
#: ../../c-api/long.rst:20
41+
#: ../../c-api/long.rst:23
3542
msgid ""
3643
"This instance of :c:type:`PyTypeObject` represents the Python integer type. "
3744
"This is the same object as :class:`int` in the Python layer."
3845
msgstr ""
3946
"この :c:type:`PyTypeObject` のインスタンスは Python 整数型を表現します。これは Python レイヤにおける "
4047
":class:`int` と同じオブジェクトです。"
4148

42-
#: ../../c-api/long.rst:26
49+
#: ../../c-api/long.rst:29
4350
msgid ""
4451
"Return true if its argument is a :c:type:`PyLongObject` or a subtype of "
4552
":c:type:`PyLongObject`."
4653
msgstr "引数が :c:type:`PyLongObject` か :c:type:`PyLongObject` のサブタイプのときに真を返します。"
4754

48-
#: ../../c-api/long.rst:32
55+
#: ../../c-api/long.rst:35
4956
msgid ""
5057
"Return true if its argument is a :c:type:`PyLongObject`, but not a subtype "
5158
"of :c:type:`PyLongObject`."
5259
msgstr ""
5360
"引数が :c:type:`PyLongObject` 型で、かつ :c:type:`PyLongObject` 型のサブタイプでないときに真を返します。"
5461

55-
#: ../../c-api/long.rst:38
62+
#: ../../c-api/long.rst:41
5663
msgid ""
5764
"Return a new :c:type:`PyLongObject` object from *v*, or *NULL* on failure."
5865
msgstr ""
5966
"*v* から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。失敗のときには *NULL* を返します。"
6067

61-
#: ../../c-api/long.rst:40
68+
#: ../../c-api/long.rst:43
6269
msgid ""
6370
"The current implementation keeps an array of integer objects for all "
6471
"integers between ``-5`` and ``256``, when you create an int in that range "
@@ -70,54 +77,54 @@ msgstr ""
7077
"までの全ての整数に対する整数オブジェクトの配列を保持するようにしており、この範囲の数を生成すると、実際には既存のオブジェクトに対する参照が返るようになっています。従って、``1``"
7178
" の値を変えることすら可能です。変えてしまった場合の Python の挙動は未定義です :-)"
7279

73-
#: ../../c-api/long.rst:49
80+
#: ../../c-api/long.rst:52
7481
msgid ""
7582
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`,"
7683
" or *NULL* on failure."
7784
msgstr ""
7885
"Cの :c:type:`unsigned long` から新たな :c:type:`PyLongObject` "
7986
"オブジェクトを生成して返します。失敗した際には *NULL* を返します。"
8087

81-
#: ../../c-api/long.rst:55
88+
#: ../../c-api/long.rst:58
8289
msgid ""
8390
"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or"
8491
" *NULL* on failure."
8592
msgstr ""
8693
"C の :c:type:`Py_ssize_t` 型から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。 "
8794
"失敗のときには *NULL* を返します。"
8895

89-
#: ../../c-api/long.rst:61
96+
#: ../../c-api/long.rst:64
9097
msgid ""
9198
"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or "
9299
"*NULL* on failure."
93100
msgstr ""
94101
"C の :c:type:`size_t` 型から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。 失敗のときには "
95102
"*NULL* を返します。"
96103

97-
#: ../../c-api/long.rst:67
104+
#: ../../c-api/long.rst:70
98105
msgid ""
99106
"Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or "
100107
"*NULL* on failure."
101108
msgstr ""
102109
"C の :c:type:`long long` 型から新たな :c:type:`PyLongObject` "
103110
"オブジェクトを生成して返します。失敗のときには *NULL* を返します。"
104111

105-
#: ../../c-api/long.rst:73
112+
#: ../../c-api/long.rst:76
106113
msgid ""
107114
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long "
108115
"long`, or *NULL* on failure."
109116
msgstr ""
110117
"C の :c:type:`unsigned long long` 型から新たな :c:type:`PyLongObject` "
111118
"オブジェクトを生成して返します。失敗のときには *NULL* を返します。"
112119

113-
#: ../../c-api/long.rst:79
120+
#: ../../c-api/long.rst:82
114121
msgid ""
115122
"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or "
116123
"*NULL* on failure."
117124
msgstr ""
118125
"*v* の整数部から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。失敗のときには *NULL* を返します。"
119126

120-
#: ../../c-api/long.rst:85
127+
#: ../../c-api/long.rst:88
121128
msgid ""
122129
"Return a new :c:type:`PyLongObject` based on the string value in *str*, "
123130
"which is interpreted according to the radix in *base*. If *pend* is "
@@ -137,7 +144,7 @@ msgstr ""
137144
"先頭の空白、基数の指定の後や数字の間にある単一のアンダースコアは無視されます。\n"
138145
"数字が全くない場合、 :exc:`ValueError` が送出されます。"
139146

140-
#: ../../c-api/long.rst:98
147+
#: ../../c-api/long.rst:101
141148
msgid ""
142149
"Convert a sequence of Unicode digits to a Python integer value. The Unicode"
143150
" string is first encoded to a byte string using "
@@ -148,7 +155,7 @@ msgstr ""
148155
":c:func:`PyUnicode_EncodeDecimal` を用いてバイト文字列にエンコードされ、次に "
149156
":c:func:`PyLong_FromString` を用いて変換されます。"
150157

151-
#: ../../c-api/long.rst:104
158+
#: ../../c-api/long.rst:107
152159
msgid ""
153160
"Deprecated since version 3.3, will be removed in version 4.0: Part of the "
154161
"old-style Py_UNICODE API; please migrate to using "
@@ -157,15 +164,15 @@ msgstr ""
157164
"バージョン 3.3 で非推奨、バージョン 4.0 で削除予定: 古いスタイルの Py_UNICODE API の一部です; "
158165
"PyLong_FromUnicodeObject() を使用するように移行してください。"
159166

160-
#: ../../c-api/long.rst:104
167+
#: ../../c-api/long.rst:107
161168
msgid ""
162169
"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using "
163170
":c:func:`PyLong_FromUnicodeObject`."
164171
msgstr ""
165172
"古いスタイルの :c:type:`Py_UNICODE` APIの一部です; :c:func:`PyLong_FromUnicodeObject` "
166173
"を使用するように移行してください。"
167174

168-
#: ../../c-api/long.rst:109
175+
#: ../../c-api/long.rst:112
169176
msgid ""
170177
"Convert a sequence of Unicode digits in the string *u* to a Python integer "
171178
"value. The Unicode string is first encoded to a byte string using "
@@ -176,15 +183,15 @@ msgstr ""
176183
":c:func:`PyUnicode_EncodeDecimal` を用いてバイト文字列にエンコードされ、次に "
177184
":c:func:`PyLong_FromString` を用いて変換されます。"
178185

179-
#: ../../c-api/long.rst:119
186+
#: ../../c-api/long.rst:122
180187
msgid ""
181188
"Create a Python integer from the pointer *p*. The pointer value can be "
182189
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
183190
msgstr ""
184191
"ポインタ *p* から Python 整数値を生成します。ポインタの値は :c:func:`PyLong_AsVoidPtr` "
185192
"を適用した結果から取得されます。"
186193

187-
#: ../../c-api/long.rst:130 ../../c-api/long.rst:140
194+
#: ../../c-api/long.rst:133 ../../c-api/long.rst:145
188195
msgid ""
189196
"Return a C :c:type:`long` representation of *obj*. If *obj* is not an "
190197
"instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method "
@@ -194,13 +201,19 @@ msgstr ""
194201
"のインスタンスでなければ、まず、その :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを "
195202
":c:type:`PyLongObject` に変換します。"
196203

197-
#: ../../c-api/long.rst:134 ../../c-api/long.rst:159
204+
#: ../../c-api/long.rst:137 ../../c-api/long.rst:166
198205
msgid ""
199206
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
200207
":c:type:`long`."
201208
msgstr "もし *obj* の値が :c:type:`long` の範囲外であれば、 :exc:`OverflowError` を送出します。"
202209

203-
#: ../../c-api/long.rst:144
210+
#: ../../c-api/long.rst:140 ../../c-api/long.rst:154 ../../c-api/long.rst:169
211+
#: ../../c-api/long.rst:183 ../../c-api/long.rst:200 ../../c-api/long.rst:262
212+
#: ../../c-api/long.rst:274
213+
msgid "Returns -1 on error. Use :c:func:`PyErr_Occurred` to disambiguate."
214+
msgstr ""
215+
216+
#: ../../c-api/long.rst:149
204217
msgid ""
205218
"If the value of *obj* is greater than :const:`LONG_MAX` or less than "
206219
":const:`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and "
@@ -212,7 +225,7 @@ msgstr ""
212225
"*\\*overflow* は ``0`` に設定されます。もし、ほかの例外が発生した場合は *\\*overflow* が ``0`` に設定され "
213226
"``-1`` を返します。"
214227

215-
#: ../../c-api/long.rst:155 ../../c-api/long.rst:165
228+
#: ../../c-api/long.rst:162 ../../c-api/long.rst:174
216229
msgid ""
217230
"Return a C :c:type:`long long` representation of *obj*. If *obj* is not an "
218231
"instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method "
@@ -222,7 +235,7 @@ msgstr ""
222235
"のインスタンスでなければ、まず、その :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを "
223236
":c:type:`PyLongObject` に変換します。"
224237

225-
#: ../../c-api/long.rst:169
238+
#: ../../c-api/long.rst:178
226239
msgid ""
227240
"If the value of *obj* is greater than :const:`PY_LLONG_MAX` or less than "
228241
":const:`PY_LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, "
@@ -234,76 +247,94 @@ msgstr ""
234247
"*\\*overflow* は ``0`` に設定されます。もし、ほかの例外が発生した場合は *\\*overflow* が ``0`` に設定され "
235248
"``-1`` を返します。"
236249

237-
#: ../../c-api/long.rst:183
250+
#: ../../c-api/long.rst:194
238251
msgid ""
239252
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
240253
"be an instance of :c:type:`PyLongObject`."
241254
msgstr ""
242255
"*pylong* を表す C の :c:type:`Py_ssize_t` を返します。 *pylong* は "
243256
":c:type:`PyLongObject` のインスタンスでなければなりません。"
244257

245-
#: ../../c-api/long.rst:186
258+
#: ../../c-api/long.rst:197
246259
msgid ""
247260
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
248261
":c:type:`Py_ssize_t`."
249262
msgstr ""
250263
"もし *pylong* の値が :c:type:`Py_ssize_t` の範囲外であれば、 :exc:`OverflowError` を送出します。"
251264

252-
#: ../../c-api/long.rst:196
265+
#: ../../c-api/long.rst:209
253266
msgid ""
254267
"Return a C :c:type:`unsigned long` representation of *pylong*. *pylong* "
255268
"must be an instance of :c:type:`PyLongObject`."
256269
msgstr ""
257270
"*pylong* を表す C の :c:type:`unsigned long` を返します。 *pylong* は "
258271
":c:type:`PyLongObject` のインスタンスでなければなりません。"
259272

260-
#: ../../c-api/long.rst:199
273+
#: ../../c-api/long.rst:212
261274
msgid ""
262275
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
263276
":c:type:`unsigned long`."
264277
msgstr ""
265278
"もし *pylong* の値が :c:type:`unsigned long` の範囲外であれば、 :exc:`OverflowError` "
266279
"を送出します。"
267280

268-
#: ../../c-api/long.rst:205
281+
#: ../../c-api/long.rst:215
282+
msgid ""
283+
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
284+
"disambiguate."
285+
msgstr ""
286+
287+
#: ../../c-api/long.rst:225
269288
msgid ""
270289
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an"
271290
" instance of :c:type:`PyLongObject`."
272291
msgstr ""
273292
"*pylong* を表す C の :c:type:`size_t` を返します。 *pylong* は :c:type:`PyLongObject` "
274293
"のインスタンスでなければなりません。"
275294

276-
#: ../../c-api/long.rst:208
295+
#: ../../c-api/long.rst:228
277296
msgid ""
278297
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
279298
":c:type:`size_t`."
280299
msgstr ""
281300
"もし *pylong* の値が :c:type:`size_t` の範囲外であれば、 :exc:`OverflowError` を送出します。"
282301

283-
#: ../../c-api/long.rst:217
302+
#: ../../c-api/long.rst:231
303+
msgid ""
304+
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
305+
"disambiguate."
306+
msgstr ""
307+
308+
#: ../../c-api/long.rst:240
284309
msgid ""
285310
"Return a C :c:type:`unsigned long long` representation of *pylong*. "
286311
"*pylong* must be an instance of :c:type:`PyLongObject`."
287312
msgstr ""
288313
"*pylong* を表す C の :c:type:`unsigned long long` を返します。 *pylong* は "
289314
":c:type:`PyLongObject` のインスタンスでなければなりません。"
290315

291-
#: ../../c-api/long.rst:220
316+
#: ../../c-api/long.rst:243
292317
msgid ""
293318
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an "
294319
":c:type:`unsigned long long`."
295320
msgstr ""
296321
"もし *pylong* の値が :c:type:`unsigned long long` の範囲外であれば、 :exc:`OverflowError` "
297322
"を送出します。"
298323

299-
#: ../../c-api/long.rst:223
324+
#: ../../c-api/long.rst:246
325+
msgid ""
326+
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to"
327+
" disambiguate."
328+
msgstr ""
329+
330+
#: ../../c-api/long.rst:249
300331
msgid ""
301332
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
302333
msgstr ""
303334
"負 *pylong* を指定した際に :exc:`TypeError` ではなく、 :exc:`OverflowError` "
304335
"を送出するようになりました。"
305336

306-
#: ../../c-api/long.rst:229
337+
#: ../../c-api/long.rst:255
307338
msgid ""
308339
"Return a C :c:type:`unsigned long` representation of *obj*. If *obj* is not"
309340
" an instance of :c:type:`PyLongObject`, first call its :meth:`__int__` "
@@ -313,15 +344,15 @@ msgstr ""
313344
":c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__int__` メソッドを (もしあれば) "
314345
"呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
315346

316-
#: ../../c-api/long.rst:233
347+
#: ../../c-api/long.rst:259
317348
msgid ""
318349
"If the value of *obj* is out of range for an :c:type:`unsigned long`, return"
319350
" the reduction of that value modulo ``ULONG_MAX + 1``."
320351
msgstr ""
321352
"*obj* の値が :c:type:`unsigned long` の範囲から外れていた場合は、 ``ULONG_MAX + 1`` "
322353
"を法とした剰余を返します。"
323354

324-
#: ../../c-api/long.rst:239
355+
#: ../../c-api/long.rst:267
325356
msgid ""
326357
"Return a C :c:type:`unsigned long long` representation of *obj*. If *obj* "
327358
"is not an instance of :c:type:`PyLongObject`, first call its :meth:`__int__`"
@@ -331,30 +362,34 @@ msgstr ""
331362
":c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__int__` メソッドを (もしあれば) "
332363
"呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
333364

334-
#: ../../c-api/long.rst:243
365+
#: ../../c-api/long.rst:271
335366
msgid ""
336367
"If the value of *obj* is out of range for an :c:type:`unsigned long long`, "
337368
"return the reduction of that value modulo ``PY_ULLONG_MAX + 1``."
338369
msgstr ""
339370
"*obj* の値が :c:type:`unsigned long long` の範囲から外れていた場合は、 ``PY_ULLONG_MAX + 1`` "
340371
"を法とした剰余を返します。"
341372

342-
#: ../../c-api/long.rst:249
373+
#: ../../c-api/long.rst:279
343374
msgid ""
344375
"Return a C :c:type:`double` representation of *pylong*. *pylong* must be an"
345376
" instance of :c:type:`PyLongObject`."
346377
msgstr ""
347378
"*pylong* を表す C の :c:type:`double` を返します。 *pylong* は :c:type:`PyLongObject` "
348379
"のインスタンスでなければなりません。"
349380

350-
#: ../../c-api/long.rst:252
381+
#: ../../c-api/long.rst:282
351382
msgid ""
352383
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
353384
":c:type:`double`."
354385
msgstr ""
355386
"もし *pylong* の値が :c:type:`double` の範囲外であれば、 :exc:`OverflowError` を送出します。"
356387

357-
#: ../../c-api/long.rst:258
388+
#: ../../c-api/long.rst:285
389+
msgid "Returns -1.0 on error. Use :c:func:`PyErr_Occurred` to disambiguate."
390+
msgstr ""
391+
392+
#: ../../c-api/long.rst:290
358393
msgid ""
359394
"Convert a Python integer *pylong* to a C :c:type:`void` pointer. If *pylong*"
360395
" cannot be converted, an :exc:`OverflowError` will be raised. This is only "
@@ -364,3 +399,7 @@ msgstr ""
364399
"Python の整数型を指す *pylong* を、 C の :c:type:`void` ポインタに変換します。 *pylong* "
365400
"を変換できなければ、 :exc:`OverflowError` を送出します。この関数は :c:func:`PyLong_FromVoidPtr` "
366401
"で値を生成するときに使うような :c:type:`void` ポインタ型を生成できるだけです。"
402+
403+
#: ../../c-api/long.rst:295
404+
msgid "Returns NULL on error. Use :c:func:`PyErr_Occurred` to disambiguate."
405+
msgstr ""

0 commit comments

Comments
 (0)