@@ -702,6 +702,8 @@ msgid ""
702702"operations is calculated as though carried out in two's complement with an "
703703"infinite number of sign bits."
704704msgstr ""
705+ "ビット単位演算は整数についてのみ意味を持ちます。\n"
706+ "ビット単位演算の結果は、あたかも両方の値の先頭を無限個の符号ビットで埋めたものに対して計算したかのような値になります。"
705707
706708#: ../../library/stdtypes.rst:403
707709msgid ""
@@ -798,6 +800,8 @@ msgid ""
798800"max(x.bit_length(), y.bit_length()`` or more) is sufficient to get the same "
799801"result as if there were an infinite number of sign bits."
800802msgstr ""
803+ "桁の長い方の値に少なくとも 1 つ余計に符号ビットを付け加えた幅 (計算するビット幅は ``1 + max(x.bit_length(), "
804+ "y.bit_length())`` かそれ以上) でこれらの計算を行えば、無限個の符号ビットがあるかのように計算したのと同じ結果を得るのに十分です。"
801805
802806#: ../../library/stdtypes.rst:449
803807msgid "Additional Methods on Integer Types"
@@ -1674,7 +1678,7 @@ msgstr "``s.remove(x)``"
16741678
16751679#: ../../library/stdtypes.rst:1089
16761680msgid "remove the first item from *s* where ``s[i]`` is equal to *x*"
1677- msgstr ""
1681+ msgstr "*s* から ``s[i]`` が ``x`` が等価となる最初の要素を取り除きます "
16781682
16791683#: ../../library/stdtypes.rst:1092
16801684msgid "``s.reverse()``"
@@ -2113,6 +2117,8 @@ msgid ""
21132117"how to implement a lazy version of range suitable for floating point "
21142118"applications."
21152119msgstr ""
2120+ "`linspace レシピ <http://code.activestate.com/recipes/579000/>`_ "
2121+ "には、遅延評価される浮動小数点版の range の実装方法が載っています。"
21162122
21172123#: ../../library/stdtypes.rst:1385
21182124msgid "Text Sequence Type --- :class:`str`"
@@ -2505,6 +2511,8 @@ msgid ""
25052511"ASCII, false otherwise. ASCII characters have code points in the range "
25062512"U+0000-U+007F."
25072513msgstr ""
2514+ "文字列が空であるか、文字列の全ての文字が ASCII である場合に真を、それ以外の場合に偽を返します。\n"
2515+ "ASCII 文字のコードポイントは U+0000-U+007F の範囲にあります。"
25082516
25092517#: ../../library/stdtypes.rst:1673
25102518msgid ""
@@ -3034,6 +3042,9 @@ msgid ""
30343042"character(s) is not \" Lu\" (Letter, uppercase), but e.g. \" Lt\" (Letter, "
30353043"titlecase)."
30363044msgstr ""
3045+ "全ての大小文字の区別のある文字 [4]_ が大文字に変換された、文字列のコピーを返します。なお ``s.upper().isupper()`` は、 "
3046+ "``s`` が大小文字の区別のある文字を含まなかったり、結果の文字の Unicode カテゴリが \" Lu\" ではなく例えば \" Lt\" "
3047+ "(Letter, titlecase) などであったら、 ``False`` になりえます。"
30373048
30383049#: ../../library/stdtypes.rst:2065
30393050msgid ""
@@ -3066,6 +3077,9 @@ msgid ""
30663077" provides their own trade-offs and benefits of simplicity, flexibility, "
30673078"and/or extensibility."
30683079msgstr ""
3080+ "ここで解説されているフォーマット操作には、(タプルや辞書を正しく表示するのに失敗するなどの) よくある多くの問題を引き起こす、様々な欠陥が出現します。\n"
3081+ "新しい :ref:`フォーマット済み文字列リテラル <f-strings>` や :meth:`str.format` インターフェースや :ref:`テンプレート文字列 <template-strings>` が、これらの問題を回避する助けになるでしょう。\n"
3082+ "これらの代替手段には、それ自身に、トレードオフや、簡潔さ、柔軟さ、拡張性といった利点があります。"
30693083
30703084#: ../../library/stdtypes.rst:2111
30713085msgid ""
@@ -3555,7 +3569,7 @@ msgstr ""
35553569msgid ""
35563570":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just"
35573571" spaces."
3558- msgstr ""
3572+ msgstr ":meth:`bytes.fromhex` は文字列にある空白だけでなく、 ASCII の空白文字全てをスキップするようになりました。 "
35593573
35603574#: ../../library/stdtypes.rst:2357
35613575msgid ""
@@ -3676,6 +3690,7 @@ msgid ""
36763690":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not "
36773691"just spaces."
36783692msgstr ""
3693+ ":meth:`bytearray.fromhex` は文字列にある空白だけでなく、 ASCII の空白文字全てをスキップするようになりました。"
36793694
36803695#: ../../library/stdtypes.rst:2433
36813696msgid ""
@@ -4216,6 +4231,8 @@ msgid ""
42164231"Return true if the sequence is empty or all bytes in the sequence are ASCII,"
42174232" false otherwise. ASCII bytes are in the range 0-0x7F."
42184233msgstr ""
4234+ "シーケンスが空であるか、シーケンスの全てのバイトが ASCII である場合に真を、それ以外の場合に偽を返します。\n"
4235+ "ASCII バイトは 0-0x7F の範囲にあります。"
42194236
42204237#: ../../library/stdtypes.rst:2972
42214238msgid ""
@@ -4458,7 +4475,7 @@ msgstr "``b'%r'`` は非推奨ですが、3.x 系では削除されません。"
44584475
44594476#: ../../library/stdtypes.rst:3399
44604477msgid ":pep:`461` - Adding % formatting to bytes and bytearray"
4461- msgstr ""
4478+ msgstr ":pep:`461` - bytes と bytearray への % 書式化の追加 "
44624479
44634480#: ../../library/stdtypes.rst:3406
44644481msgid "Memory Views"
@@ -5290,6 +5307,8 @@ msgid ""
52905307"Remove and return a ``(key, value)`` pair from the dictionary. Pairs are "
52915308"returned in :abbr:`LIFO (last-in, first-out)` order."
52925309msgstr ""
5310+ "任意の ``(key, value)`` 対を辞書から消去して返します。\n"
5311+ "対は :abbr:`LIFO (後入れ、先出し)` の順序で返却されます。"
52935312
52945313#: ../../library/stdtypes.rst:4213
52955314msgid ""
@@ -5305,6 +5324,8 @@ msgid ""
53055324"LIFO order is now guaranteed. In prior versions, :meth:`popitem` would "
53065325"return an arbitrary key/value pair."
53075326msgstr ""
5327+ "LIFO 順序が保証されるようになりました。\n"
5328+ "以前のバージョンでは、 :meth:`popitem` は任意の key/value 対を返していました。"
53085329
53095330#: ../../library/stdtypes.rst:4223
53105331msgid ""
@@ -5351,12 +5372,15 @@ msgid ""
53515372"Dictionaries preserve insertion order. Note that updating a key does not "
53525373"affect the order. Keys added after deletion are inserted at the end. ::"
53535374msgstr ""
5375+ "辞書は挿入順序を保存するようになりました。\n"
5376+ "キーの更新は順序には影響が無いことに注意してください。\n"
5377+ "いったん削除されてから再度追加されたキーは末尾に挿入されます。::"
53545378
53555379#: ../../library/stdtypes.rst:4264
53565380msgid ""
53575381"Dictionary order is guaranteed to be insertion order. This behavior was "
53585382"implementation detail of CPython from 3.6."
5359- msgstr ""
5383+ msgstr "辞書の順序が挿入順序であることが保証されるようになりました。この振る舞いは CPython 3.6 の実装詳細でした。 "
53605384
53615385#: ../../library/stdtypes.rst:4269
53625386msgid ""
@@ -5402,6 +5426,9 @@ msgid ""
54025426"zip(d.values(), d.keys())``. Another way to create the same list is ``pairs"
54035427" = [(v, k) for (k, v) in d.items()]``."
54045428msgstr ""
5429+ "キーと値は挿入順序で反復されます。\n"
5430+ "これにより、 ``(value, key)`` の対の列を ``pairs = zip(d.values(), d.keys())`` のように :func:`zip` で作成できます。\n"
5431+ "同じリストを作成する他の方法は、 ``pairs = [(v, k) for (k, v) in d.items()]`` です。 "
54055432
54065433#: ../../library/stdtypes.rst:4300
54075434msgid ""
@@ -5413,7 +5440,7 @@ msgstr ""
54135440
54145441#: ../../library/stdtypes.rst:4303
54155442msgid "Dictionary order is guaranteed to be insertion order."
5416- msgstr ""
5443+ msgstr "辞書の順序が挿入順序であると保証されるようになりました。 "
54175444
54185445#: ../../library/stdtypes.rst:4308
54195446msgid ""
0 commit comments