@@ -5082,6 +5082,10 @@ msgid ""
50825082"support the buffer protocol. Built-in objects that support the buffer "
50835083"protocol include :class:`bytes` and :class:`bytearray`."
50845084msgstr ""
5085+ "*object* を参照する :class:`memoryview` を作成します。 *object* はバッファプ"
5086+ "ロトコルをサポートしていなければなりません。バッファプロトコルをサポートする"
5087+ "組み込みオブジェクトには、 :class:`bytes` 、 :class:`bytearray` などがありま"
5088+ "す。"
50855089
50865090#: ../../library/stdtypes.rst:3618
50875091msgid ""
@@ -5090,6 +5094,10 @@ msgid ""
50905094"as :class:`bytes` and :class:`bytearray`, an element is a single byte, but "
50915095"other types such as :class:`array.array` may have bigger elements."
50925096msgstr ""
5097+ ":class:`memoryview` は元となる *object* が扱うメモリーの最小単位を *要素* と"
5098+ "して扱います。多くの単純なオブジェクト、例えば :class:`bytes` や :class:"
5099+ "`bytearray` では、要素は単バイトになりますが、他の :class:`array.array` 等の"
5100+ "型では、要素はより大きくなりえます。"
50935101
50945102#: ../../library/stdtypes.rst:3623
50955103msgid ""
@@ -5536,23 +5544,25 @@ msgstr ""
55365544
55375545#: ../../library/stdtypes.rst:4121
55385546msgid "Sets can be created by several means:"
5539- msgstr ""
5547+ msgstr "集合はいくつかの方法で生成できます: "
55405548
55415549#: ../../library/stdtypes.rst:4123
55425550msgid ""
55435551"Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``"
5544- msgstr ""
5552+ msgstr "波括弧内にカンマ区切りで要素を列挙する: ``{'jack', 'sjoerd'}`` "
55455553
55465554#: ../../library/stdtypes.rst:4124
55475555msgid ""
55485556"Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``"
5549- msgstr ""
5557+ msgstr "集合内包表記を使う: ``{c for c in 'abracadabra' if c not in 'abc'}`` "
55505558
55515559#: ../../library/stdtypes.rst:4125
55525560msgid ""
55535561"Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
55545562"'foo'])``"
55555563msgstr ""
5564+ "型コンストラクタを使う: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
5565+ "'foo'])``"
55565566
55575567#: ../../library/stdtypes.rst:4127
55585568msgid ""
@@ -5841,13 +5851,15 @@ msgstr ""
58415851
58425852#: ../../library/stdtypes.rst:4319
58435853msgid "Dictionaries can be created by several means:"
5844- msgstr ""
5854+ msgstr "辞書はいくつかの方法で生成できます: "
58455855
58465856#: ../../library/stdtypes.rst:4321
58475857msgid ""
58485858"Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': "
58495859"4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``"
58505860msgstr ""
5861+ "波括弧内にカンマ区切りで ``key: value`` 対を列挙する: ``{'jack': 4098, "
5862+ "'sjoerd': 4127}`` あるいは ``{4098: 'jack', 4127: 'sjoerd'}``"
58515863
58525864#: ../../library/stdtypes.rst:4323
58535865msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``"
@@ -5858,6 +5870,8 @@ msgid ""
58585870"Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', "
58595871"200)])``, ``dict(foo=100, bar=200)``"
58605872msgstr ""
5873+ "型コンストラクタを使う: ``dict()``, ``dict([('foo', 100), ('bar', 200)])``, "
5874+ "``dict(foo=100, bar=200)``"
58615875
58625876#: ../../library/stdtypes.rst:4327
58635877msgid ""
@@ -6079,6 +6093,8 @@ msgid ""
60796093"Return a reverse iterator over the keys of the dictionary. This is a "
60806094"shortcut for ``reversed(d.keys())``."
60816095msgstr ""
6096+ "辞書のキーに渡る逆イテレータを返します。これは ``reversed(d.keys())`` への"
6097+ "ショートカットです。"
60826098
60836099#: ../../library/stdtypes.rst:4482
60846100msgid ""
@@ -6144,6 +6160,9 @@ msgid ""
61446160"value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', "
61456161"'>') raise :exc:`TypeError`."
61466162msgstr ""
6163+ "複数の辞書は、(順序に関係なく) ���じ ``(key, value)`` の対を持つ場合に、そして"
6164+ "その場合にのみ等しくなります。順序比較 ('<', '<=', '>=', '>') は :exc:"
6165+ "`TypeError` を送出します。"
61476166
61486167#: ../../library/stdtypes.rst:4529
61496168msgid ""
@@ -6887,6 +6906,9 @@ msgid ""
68876906"Accessing ``__code__`` raises an :ref:`auditing event <auditing>` ``object."
68886907"__getattr__`` with arguments ``obj`` and ``\" __code__\" ``."
68896908msgstr ""
6909+ "``__code__`` へのアクセスは ``object.__getattr__`` に ``obj`` と "
6910+ "``\" __code__\" `` を渡して行いますが、 :ref:`監査イベント <auditing>` を送出し"
6911+ "ます。"
68906912
68916913#: ../../library/stdtypes.rst:5053
68926914msgid ""
@@ -7078,6 +7100,9 @@ msgid ""
70787100"This method returns a list of all those references still alive. The list is "
70797101"in definition order. Example::"
70807102msgstr ""
7103+ "それぞれのクラスは、それ自身の直接のサブクラスへの弱参照を保持します。このメ"
7104+ "ソッドはそれらの参照のうち、生存しているもののリストを返します。リストは定義"
7105+ "順です。例::"
70817106
70827107#: ../../library/stdtypes.rst:5209
70837108msgid "Footnotes"
0 commit comments