@@ -5082,6 +5082,10 @@ msgid ""
5082
5082
"support the buffer protocol. Built-in objects that support the buffer "
5083
5083
"protocol include :class:`bytes` and :class:`bytearray`."
5084
5084
msgstr ""
5085
+ "*object* を参照する :class:`memoryview` を作成します。 *object* はバッファプ"
5086
+ "ロトコルをサポートしていなければなりません。バッファプロトコルをサポートする"
5087
+ "組み込みオブジェクトには、 :class:`bytes` 、 :class:`bytearray` などがありま"
5088
+ "す。"
5085
5089
5086
5090
#: ../../library/stdtypes.rst:3618
5087
5091
msgid ""
@@ -5090,6 +5094,10 @@ msgid ""
5090
5094
"as :class:`bytes` and :class:`bytearray`, an element is a single byte, but "
5091
5095
"other types such as :class:`array.array` may have bigger elements."
5092
5096
msgstr ""
5097
+ ":class:`memoryview` は元となる *object* が扱うメモリーの最小単位を *要素* と"
5098
+ "して扱います。多くの単純なオブジェクト、例えば :class:`bytes` や :class:"
5099
+ "`bytearray` では、要素は単バイトになりますが、他の :class:`array.array` 等の"
5100
+ "型では、要素はより大きくなりえます。"
5093
5101
5094
5102
#: ../../library/stdtypes.rst:3623
5095
5103
msgid ""
@@ -5536,23 +5544,25 @@ msgstr ""
5536
5544
5537
5545
#: ../../library/stdtypes.rst:4121
5538
5546
msgid "Sets can be created by several means:"
5539
- msgstr ""
5547
+ msgstr "集合はいくつかの方法で生成できます: "
5540
5548
5541
5549
#: ../../library/stdtypes.rst:4123
5542
5550
msgid ""
5543
5551
"Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``"
5544
- msgstr ""
5552
+ msgstr "波括弧内にカンマ区切りで要素を列挙する: ``{'jack', 'sjoerd'}`` "
5545
5553
5546
5554
#: ../../library/stdtypes.rst:4124
5547
5555
msgid ""
5548
5556
"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'}`` "
5550
5558
5551
5559
#: ../../library/stdtypes.rst:4125
5552
5560
msgid ""
5553
5561
"Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
5554
5562
"'foo'])``"
5555
5563
msgstr ""
5564
+ "型コンストラクタを使う: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
5565
+ "'foo'])``"
5556
5566
5557
5567
#: ../../library/stdtypes.rst:4127
5558
5568
msgid ""
@@ -5841,13 +5851,15 @@ msgstr ""
5841
5851
5842
5852
#: ../../library/stdtypes.rst:4319
5843
5853
msgid "Dictionaries can be created by several means:"
5844
- msgstr ""
5854
+ msgstr "辞書はいくつかの方法で生成できます: "
5845
5855
5846
5856
#: ../../library/stdtypes.rst:4321
5847
5857
msgid ""
5848
5858
"Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': "
5849
5859
"4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``"
5850
5860
msgstr ""
5861
+ "波括弧内にカンマ区切りで ``key: value`` 対を列挙する: ``{'jack': 4098, "
5862
+ "'sjoerd': 4127}`` あるいは ``{4098: 'jack', 4127: 'sjoerd'}``"
5851
5863
5852
5864
#: ../../library/stdtypes.rst:4323
5853
5865
msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``"
@@ -5858,6 +5870,8 @@ msgid ""
5858
5870
"Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', "
5859
5871
"200)])``, ``dict(foo=100, bar=200)``"
5860
5872
msgstr ""
5873
+ "型コンストラクタを使う: ``dict()``, ``dict([('foo', 100), ('bar', 200)])``, "
5874
+ "``dict(foo=100, bar=200)``"
5861
5875
5862
5876
#: ../../library/stdtypes.rst:4327
5863
5877
msgid ""
@@ -6079,6 +6093,8 @@ msgid ""
6079
6093
"Return a reverse iterator over the keys of the dictionary. This is a "
6080
6094
"shortcut for ``reversed(d.keys())``."
6081
6095
msgstr ""
6096
+ "辞書のキーに渡る逆イテレータを返します。これは ``reversed(d.keys())`` への"
6097
+ "ショートカットです。"
6082
6098
6083
6099
#: ../../library/stdtypes.rst:4482
6084
6100
msgid ""
@@ -6144,6 +6160,9 @@ msgid ""
6144
6160
"value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', "
6145
6161
"'>') raise :exc:`TypeError`."
6146
6162
msgstr ""
6163
+ "複数の辞書は、(順序に関係なく) 同じ ``(key, value)`` の対を持つ場合に、そして"
6164
+ "その場合にのみ等しくなります。順序比較 ('<', '<=', '>=', '>') は :exc:"
6165
+ "`TypeError` を送出します。"
6147
6166
6148
6167
#: ../../library/stdtypes.rst:4529
6149
6168
msgid ""
@@ -6887,6 +6906,9 @@ msgid ""
6887
6906
"Accessing ``__code__`` raises an :ref:`auditing event <auditing>` ``object."
6888
6907
"__getattr__`` with arguments ``obj`` and ``\" __code__\" ``."
6889
6908
msgstr ""
6909
+ "``__code__`` へのアクセスは ``object.__getattr__`` に ``obj`` と "
6910
+ "``\" __code__\" `` を渡して行いますが、 :ref:`監査イベント <auditing>` を送出し"
6911
+ "ます。"
6890
6912
6891
6913
#: ../../library/stdtypes.rst:5053
6892
6914
msgid ""
@@ -7078,6 +7100,9 @@ msgid ""
7078
7100
"This method returns a list of all those references still alive. The list is "
7079
7101
"in definition order. Example::"
7080
7102
msgstr ""
7103
+ "それぞれのクラスは、それ自身の直接のサブクラスへの弱参照を保持します。このメ"
7104
+ "ソッドはそれらの参照のうち、生存しているもののリストを返します。リストは定義"
7105
+ "順です。例::"
7081
7106
7082
7107
#: ../../library/stdtypes.rst:5209
7083
7108
msgid "Footnotes"
0 commit comments