@@ -18,7 +18,7 @@ msgid ""
1818msgstr ""
1919"Project-Id-Version : Python 3.9\n "
2020"Report-Msgid-Bugs-To : \n "
21- "POT-Creation-Date : 2021-01-01 05:02 +0000\n "
21+ "POT-Creation-Date : 2021-04-27 06:12 +0000\n "
2222"PO-Revision-Date : 2017-02-16 17:48+0000\n "
2323"Last-Translator : mollinaca, 2020\n "
2424"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -370,23 +370,18 @@ msgid ""
370370"Read *n* items (as machine values) from the :term:`file object` *f* and "
371371"append them to the end of the array. If less than *n* items are available, "
372372":exc:`EOFError` is raised, but the items that were available are still "
373- "inserted into the array. *f* must be a real built-in file object; something "
374- "else with a :meth:`read` method won't do."
373+ "inserted into the array."
375374msgstr ""
376- ":term:`ファイルオブジェクト <file object>` *f* から (マシンのデータ形式そのままで) *n* "
377- "個の要素を読み出し、アレイの末尾に要素を追加します。 *n* 個未満の要素しか読めなかった場合は :exc:`EOFError` "
378- "を送出しますが、それまでに読み出せた値はアレイに追加されます。 *f* は本当の組み込みファイルオブジェクトでなければなりません。 "
379- ":meth:`read` メソッドをもつ他の型では動作しません。"
380375
381- #: ../../library/array.rst:169
376+ #: ../../library/array.rst:168
382377msgid ""
383378"Append items from the list. This is equivalent to ``for x in list: "
384379"a.append(x)`` except that if there is a type error, the array is unchanged."
385380msgstr ""
386381"リストから要素を追加します。型に関するエラーが発生した場合にアレイが変更されないことを除き、 ``for x in list: "
387382"a.append(x)`` と同じです。"
388383
389- #: ../../library/array.rst:175
384+ #: ../../library/array.rst:174
390385msgid ""
391386"Extends this array with data from the given unicode string. The array must "
392387"be a type ``'u'`` array; otherwise a :exc:`ValueError` is raised. Use "
@@ -397,20 +392,20 @@ msgstr ""
397392":exc:`ValueError` を送出します。他の型のアレイに Unicode 型のデータを追加するには、 "
398393"``array.frombytes(unicodestring.encode(enc))`` を使ってください。"
399394
400- #: ../../library/array.rst:183
395+ #: ../../library/array.rst:182
401396msgid ""
402397"Return the smallest *i* such that *i* is the index of the first occurrence "
403398"of *x* in the array."
404399msgstr "アレイ中で *x* が出現するインデクスのうち最小の値 *i* を返します。"
405400
406- #: ../../library/array.rst:189
401+ #: ../../library/array.rst:188
407402msgid ""
408403"Insert a new item with value *x* in the array before position *i*. Negative "
409404"values are treated as being relative to the end of the array."
410405msgstr ""
411406"アレイ中の位置 *i* の前に値 *x* をもつ新しい要素を挿入します。 *i* の値が負の場合、アレイの末尾からの相対位置として扱います。"
412407
413- #: ../../library/array.rst:195
408+ #: ../../library/array.rst:194
414409msgid ""
415410"Removes the item with the index *i* from the array and returns it. The "
416411"optional argument defaults to ``-1``, so that by default the last item is "
@@ -419,15 +414,15 @@ msgstr ""
419414"アレイからインデクスが *i* の要素を取り除いて返します。オプションの引数はデフォルトで ``-1`` "
420415"になっていて、最後の要素を取り除いて返すようになっています。"
421416
422- #: ../../library/array.rst:202
417+ #: ../../library/array.rst:201
423418msgid "Remove the first occurrence of *x* from the array."
424419msgstr "アレイ中の *x* のうち、最初に現れたものを取り除きます。"
425420
426- #: ../../library/array.rst:207
421+ #: ../../library/array.rst:206
427422msgid "Reverse the order of the items in the array."
428423msgstr "アレイの要素の順番を逆にします。"
429424
430- #: ../../library/array.rst:212
425+ #: ../../library/array.rst:211
431426msgid ""
432427"Convert the array to an array of machine values and return the bytes "
433428"representation (the same sequence of bytes that would be written to a file "
@@ -436,19 +431,19 @@ msgstr ""
436431"array をマシンの値の array に変換して、 bytes の形で返します (:meth:`tofile` "
437432"メソッドを使ってファイルに書かれるバイト列と同じです)。"
438433
439- #: ../../library/array.rst:216
434+ #: ../../library/array.rst:215
440435msgid ":meth:`tostring` is renamed to :meth:`tobytes` for clarity."
441436msgstr "明確化のため :meth:`tostring` の名前が :meth:`tobytes` に変更されました。"
442437
443- #: ../../library/array.rst:222
438+ #: ../../library/array.rst:221
444439msgid "Write all items (as machine values) to the :term:`file object` *f*."
445440msgstr "すべての要素を (マシンの値の形式で) :term:`file object` *f* に書き込みます。"
446441
447- #: ../../library/array.rst:227
442+ #: ../../library/array.rst:226
448443msgid "Convert the array to an ordinary list with the same items."
449444msgstr "アレイを同じ要素を持つ普通のリストに変換します。"
450445
451- #: ../../library/array.rst:232
446+ #: ../../library/array.rst:231
452447msgid ""
453448"Convert the array to a unicode string. The array must be a type ``'u'`` "
454449"array; otherwise a :exc:`ValueError` is raised. Use "
@@ -459,7 +454,7 @@ msgstr ""
459454":exc:`ValueError` を送出します。他の型のアレイから Unicode 文字列を得るには、 "
460455"``array.tobytes().decode(enc)`` を使ってください。"
461456
462- #: ../../library/array.rst:237
457+ #: ../../library/array.rst:236
463458msgid ""
464459"When an array object is printed or converted to a string, it is represented "
465460"as ``array(typecode, initializer)``. The *initializer* is omitted if the "
@@ -474,31 +469,31 @@ msgstr ""
474469"アレイが空でなければ、 *typecode* が ``'u'`` の場合には文字列に、それ以外の場合には数値のリストになります。\n"
475470":class:`~array.array` クラスが ``from array import array`` というふうにインポートされている限り、変換後の文字列に :func:`eval` を用いると元のアレイオブジェクトと同じデータ型と値を持つアレイに逆変換できることが保証されています。文字列表現の例を以下に示します::"
476471
477- #: ../../library/array.rst:254
472+ #: ../../library/array.rst:253
478473msgid "Module :mod:`struct`"
479474msgstr ":mod:`struct` モジュール"
480475
481- #: ../../library/array.rst:254
476+ #: ../../library/array.rst:253
482477msgid "Packing and unpacking of heterogeneous binary data."
483478msgstr "異なる種類のバイナリデータのパックおよびアンパック。"
484479
485- #: ../../library/array.rst:258
480+ #: ../../library/array.rst:257
486481msgid "Module :mod:`xdrlib`"
487482msgstr ":mod:`xdrlib` モジュール"
488483
489- #: ../../library/array.rst:257
484+ #: ../../library/array.rst:256
490485msgid ""
491486"Packing and unpacking of External Data Representation (XDR) data as used in "
492487"some remote procedure call systems."
493488msgstr ""
494489"遠隔手続き呼び出しシステムで使われる外部データ表現仕様 (External Data Representation, XDR) "
495490"のデータのパックおよびアンパック。"
496491
497- #: ../../library/array.rst:261
492+ #: ../../library/array.rst:260
498493msgid "`The Numerical Python Documentation <https://docs.scipy.org/doc/>`_"
499494msgstr "`Numerical Python ドキュメント <https://docs.scipy.org/doc/>`_"
500495
501- #: ../../library/array.rst:261
496+ #: ../../library/array.rst:260
502497msgid ""
503498"The Numeric Python extension (NumPy) defines another array type; see "
504499"http://www.numpy.org/ for further information about Numerical Python."
0 commit comments