@@ -2468,6 +2468,12 @@ msgid ""
2468
2468
"longer than 1 byte, and the ``LC_NUMERIC`` locale is different than the "
2469
2469
"``LC_CTYPE`` locale. This temporary change affects other threads."
2470
2470
msgstr ""
2471
+ "数値 (:class:`int`, :class:`float`, :class:`complex`, :class:`decimal.Decimal`"
2472
+ " とサブクラス) を ``n`` の整数表現型 (例: ``'{:n}'.format(1234)``) "
2473
+ "でフォーマットするとき、``LC_CTYPE`` ロケールと ``LC_NUMERIC`` ロケールの一方または両方が 1 バイトより長い非 ASCII"
2474
+ " 文字であると同時に異なる値である場合、この関数は :c:func:`localeconv` の ``decimal_point`` と "
2475
+ "``thousands_sep`` フィールドを読み取るため一時的に ``LC_CTYPE`` ロケールに ``LC_NUMERIC`` "
2476
+ "のロケール値を設定します。この一時的な変更は他のスレッドの動作に影響します。"
2471
2477
2472
2478
#: ../../library/stdtypes.rst:1622
2473
2479
msgid ""
@@ -3534,6 +3540,10 @@ msgid ""
3534
3540
"(blindly applying text processing algorithms to binary data formats that are"
3535
3541
" not ASCII compatible will usually lead to data corruption)."
3536
3542
msgstr ""
3543
+ "bytesリテラルと repr 出力は ASCII テキストをベースにしたものですが、 bytes オブジェクトは、各値が ``0 <= x < "
3544
+ "256`` の範囲に収まるような整数 (この制限に違反しようとすると :exc:`ValueError` が発生します) "
3545
+ "の不変なシーケンスとして振る舞います。多くのバイナリフォーマットがASCIIテキストを元にした要素を持っていたり何らかのテキスト操作アルゴリズムによって操作されるものの、任意のバイナリデータが一般にテキストになっているわけではないことを強調するためにこのように設計されました"
3546
+ " (何も考えずにテキスト操作アルゴリズムをASCII非互換なバイナリデータフォーマットに対して行うとデータを破壊することがあります)。"
3537
3547
3538
3548
#: ../../library/stdtypes.rst:2348
3539
3549
msgid ""
@@ -4758,6 +4768,8 @@ msgid ""
4758
4768
"amount of space in bytes that the array would use in a contiguous "
4759
4769
"representation. It is not necessarily equal to ``len(m)``::"
4760
4770
msgstr ""
4771
+ "``nbytes == product(shape) * itemsize == len(m.tobytes())``. "
4772
+ "その配列が連続表現において利用するスペースです。これは ``len(m)`` と一致するとは限りません::"
4761
4773
4762
4774
#: ../../library/stdtypes.rst:3791
4763
4775
msgid "Multi-dimensional arrays::"
0 commit comments