@@ -702,6 +702,8 @@ msgid ""
702
702
"operations is calculated as though carried out in two's complement with an "
703
703
"infinite number of sign bits."
704
704
msgstr ""
705
+ "ビット単位演算は整数についてのみ意味を持ちます。\n"
706
+ "ビット単位演算の結果は、あたかも両方の値の先頭を無限個の符号ビットで埋めたものに対して計算したかのような値になります。"
705
707
706
708
#: ../../library/stdtypes.rst:403
707
709
msgid ""
@@ -798,6 +800,8 @@ msgid ""
798
800
"max(x.bit_length(), y.bit_length()`` or more) is sufficient to get the same "
799
801
"result as if there were an infinite number of sign bits."
800
802
msgstr ""
803
+ "桁の長い方の値に少なくとも 1 つ余計に符号ビットを付け加えた幅 (計算するビット幅は ``1 + max(x.bit_length(), "
804
+ "y.bit_length())`` かそれ以上) でこれらの計算を行えば、無限個の符号ビットがあるかのように計算したのと同じ結果を得るのに十分です。"
801
805
802
806
#: ../../library/stdtypes.rst:449
803
807
msgid "Additional Methods on Integer Types"
@@ -1674,7 +1678,7 @@ msgstr "``s.remove(x)``"
1674
1678
1675
1679
#: ../../library/stdtypes.rst:1089
1676
1680
msgid "remove the first item from *s* where ``s[i]`` is equal to *x*"
1677
- msgstr ""
1681
+ msgstr "*s* から ``s[i]`` が ``x`` が等価となる最初の要素を取り除きます "
1678
1682
1679
1683
#: ../../library/stdtypes.rst:1092
1680
1684
msgid "``s.reverse()``"
@@ -2113,6 +2117,8 @@ msgid ""
2113
2117
"how to implement a lazy version of range suitable for floating point "
2114
2118
"applications."
2115
2119
msgstr ""
2120
+ "`linspace レシピ <http://code.activestate.com/recipes/579000/>`_ "
2121
+ "には、遅延評価される浮動小数点版の range の実装方法が載っています。"
2116
2122
2117
2123
#: ../../library/stdtypes.rst:1385
2118
2124
msgid "Text Sequence Type --- :class:`str`"
@@ -2505,6 +2511,8 @@ msgid ""
2505
2511
"ASCII, false otherwise. ASCII characters have code points in the range "
2506
2512
"U+0000-U+007F."
2507
2513
msgstr ""
2514
+ "文字列が空であるか、文字列の全ての文字が ASCII である場合に真を、それ以外の場合に偽を返します。\n"
2515
+ "ASCII 文字のコードポイントは U+0000-U+007F の範囲にあります。"
2508
2516
2509
2517
#: ../../library/stdtypes.rst:1673
2510
2518
msgid ""
@@ -3034,6 +3042,9 @@ msgid ""
3034
3042
"character(s) is not \" Lu\" (Letter, uppercase), but e.g. \" Lt\" (Letter, "
3035
3043
"titlecase)."
3036
3044
msgstr ""
3045
+ "全ての大小文字の区別のある文字 [4]_ が大文字に変換された、文字列のコピーを返します。なお ``s.upper().isupper()`` は、 "
3046
+ "``s`` が大小文字の区別のある文字を含まなかったり、結果の文字の Unicode カテゴリが \" Lu\" ではなく例えば \" Lt\" "
3047
+ "(Letter, titlecase) などであったら、 ``False`` になりえます。"
3037
3048
3038
3049
#: ../../library/stdtypes.rst:2065
3039
3050
msgid ""
@@ -3066,6 +3077,9 @@ msgid ""
3066
3077
" provides their own trade-offs and benefits of simplicity, flexibility, "
3067
3078
"and/or extensibility."
3068
3079
msgstr ""
3080
+ "ここで解説されているフォーマット操作には、(タプルや辞書を正しく表示するのに失敗するなどの) よくある多くの問題を引き起こす、様々な欠陥が出現します。\n"
3081
+ "新しい :ref:`フォーマット済み文字列リテラル <f-strings>` や :meth:`str.format` インターフェースや :ref:`テンプレート文字列 <template-strings>` が、これらの問題を回避する助けになるでしょう。\n"
3082
+ "これらの代替手段には、それ自身に、トレードオフや、簡潔さ、柔軟さ、拡張性といった利点があります。"
3069
3083
3070
3084
#: ../../library/stdtypes.rst:2111
3071
3085
msgid ""
@@ -3555,7 +3569,7 @@ msgstr ""
3555
3569
msgid ""
3556
3570
":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just"
3557
3571
" spaces."
3558
- msgstr ""
3572
+ msgstr ":meth:`bytes.fromhex` は文字列にある空白だけでなく、 ASCII の空白文字全てをスキップするようになりました。 "
3559
3573
3560
3574
#: ../../library/stdtypes.rst:2357
3561
3575
msgid ""
@@ -3676,6 +3690,7 @@ msgid ""
3676
3690
":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not "
3677
3691
"just spaces."
3678
3692
msgstr ""
3693
+ ":meth:`bytearray.fromhex` は文字列にある空白だけでなく、 ASCII の空白文字全てをスキップするようになりました。"
3679
3694
3680
3695
#: ../../library/stdtypes.rst:2433
3681
3696
msgid ""
@@ -4216,6 +4231,8 @@ msgid ""
4216
4231
"Return true if the sequence is empty or all bytes in the sequence are ASCII,"
4217
4232
" false otherwise. ASCII bytes are in the range 0-0x7F."
4218
4233
msgstr ""
4234
+ "シーケンスが空であるか、シーケンスの全てのバイトが ASCII である場合に真を、それ以外の場合に偽を返します。\n"
4235
+ "ASCII バイトは 0-0x7F の範囲にあります。"
4219
4236
4220
4237
#: ../../library/stdtypes.rst:2972
4221
4238
msgid ""
@@ -4458,7 +4475,7 @@ msgstr "``b'%r'`` は非推奨ですが、3.x 系では削除されません。"
4458
4475
4459
4476
#: ../../library/stdtypes.rst:3399
4460
4477
msgid ":pep:`461` - Adding % formatting to bytes and bytearray"
4461
- msgstr ""
4478
+ msgstr ":pep:`461` - bytes と bytearray への % 書式化の追加 "
4462
4479
4463
4480
#: ../../library/stdtypes.rst:3406
4464
4481
msgid "Memory Views"
@@ -5290,6 +5307,8 @@ msgid ""
5290
5307
"Remove and return a ``(key, value)`` pair from the dictionary. Pairs are "
5291
5308
"returned in :abbr:`LIFO (last-in, first-out)` order."
5292
5309
msgstr ""
5310
+ "任意の ``(key, value)`` 対を辞書から消去して返します。\n"
5311
+ "対は :abbr:`LIFO (後入れ、先出し)` の順序で返却されます。"
5293
5312
5294
5313
#: ../../library/stdtypes.rst:4213
5295
5314
msgid ""
@@ -5305,6 +5324,8 @@ msgid ""
5305
5324
"LIFO order is now guaranteed. In prior versions, :meth:`popitem` would "
5306
5325
"return an arbitrary key/value pair."
5307
5326
msgstr ""
5327
+ "LIFO 順序が保証されるようになりました。\n"
5328
+ "以前のバージョンでは、 :meth:`popitem` は任意の key/value 対を返していました。"
5308
5329
5309
5330
#: ../../library/stdtypes.rst:4223
5310
5331
msgid ""
@@ -5351,12 +5372,15 @@ msgid ""
5351
5372
"Dictionaries preserve insertion order. Note that updating a key does not "
5352
5373
"affect the order. Keys added after deletion are inserted at the end. ::"
5353
5374
msgstr ""
5375
+ "辞書は挿入順序を保存するようになりました。\n"
5376
+ "キーの更新は順序には影響が無いことに注意してください。\n"
5377
+ "いったん削除されてから再度追加されたキーは末尾に挿入されます。::"
5354
5378
5355
5379
#: ../../library/stdtypes.rst:4264
5356
5380
msgid ""
5357
5381
"Dictionary order is guaranteed to be insertion order. This behavior was "
5358
5382
"implementation detail of CPython from 3.6."
5359
- msgstr ""
5383
+ msgstr "辞書の順序が挿入順序であることが保証されるようになりました。この振る舞いは CPython 3.6 の実装詳細でした。 "
5360
5384
5361
5385
#: ../../library/stdtypes.rst:4269
5362
5386
msgid ""
@@ -5402,6 +5426,9 @@ msgid ""
5402
5426
"zip(d.values(), d.keys())``. Another way to create the same list is ``pairs"
5403
5427
" = [(v, k) for (k, v) in d.items()]``."
5404
5428
msgstr ""
5429
+ "キーと値は挿入順序で反復されます。\n"
5430
+ "これにより、 ``(value, key)`` の対の列を ``pairs = zip(d.values(), d.keys())`` のように :func:`zip` で作成できます。\n"
5431
+ "同じリストを作成する他の方法は、 ``pairs = [(v, k) for (k, v) in d.items()]`` です。 "
5405
5432
5406
5433
#: ../../library/stdtypes.rst:4300
5407
5434
msgid ""
@@ -5413,7 +5440,7 @@ msgstr ""
5413
5440
5414
5441
#: ../../library/stdtypes.rst:4303
5415
5442
msgid "Dictionary order is guaranteed to be insertion order."
5416
- msgstr ""
5443
+ msgstr "辞書の順序が挿入順序であると保証されるようになりました。 "
5417
5444
5418
5445
#: ../../library/stdtypes.rst:4308
5419
5446
msgid ""
0 commit comments