@@ -2456,6 +2456,12 @@ msgid ""
24562456"longer than 1 byte, and the ``LC_NUMERIC`` locale is different than the "
24572457"``LC_CTYPE`` locale. This temporary change affects other threads."
24582458msgstr ""
2459+ "数値 (:class:`int`, :class:`float`, :class:`complex`, :class:`decimal.Decimal`"
2460+ " とサブクラス) を ``n`` の整数表現型 (例: ``'{:n}'.format(1234)``) "
2461+ "でフォーマットするとき、``LC_CTYPE`` ロケールと ``LC_NUMERIC`` ロケールの一方または両方が 1 バイトより長い非 ASCII"
2462+ " 文字であると同時に異なる値である場合、この関数は :c:func:`localeconv` の ``decimal_point`` と "
2463+ "``thousands_sep`` フィールドを読み取るため一時的に ``LC_CTYPE`` ロケールに ``LC_NUMERIC`` "
2464+ "のロケール値を設定します。この一時的な変更は他のスレッドの動作に影響します。"
24592465
24602466#: ../../library/stdtypes.rst:1622
24612467msgid ""
@@ -3512,6 +3518,10 @@ msgid ""
35123518"(blindly applying text processing algorithms to binary data formats that are"
35133519" not ASCII compatible will usually lead to data corruption)."
35143520msgstr ""
3521+ "bytesリテラルと repr 出力は ASCII テキストをベースにしたものですが、 bytes オブジェクトは、各値が ``0 <= x < "
3522+ "256`` の範囲に収まるような整数 (この制限に違反しようとすると :exc:`ValueError` が発生します) "
3523+ "の不変なシーケンスとして振る舞います。多くのバイナリフォーマットがASCIIテキストを元にした要素を持っていたり何らかのテキスト操作アルゴリズムによって操作されるものの、任意のバイナリデータが一般にテキストになっているわけではないことを強調するためにこのように設計されました"
3524+ " (何も考えずにテキスト操作アルゴリズムをASCII非互換なバイナリデータフォーマットに対して行うとデータを破壊することがあります)。"
35153525
35163526#: ../../library/stdtypes.rst:2338
35173527msgid ""
@@ -4715,6 +4725,8 @@ msgid ""
47154725"amount of space in bytes that the array would use in a contiguous "
47164726"representation. It is not necessarily equal to ``len(m)``::"
47174727msgstr ""
4728+ "``nbytes == product(shape) * itemsize == len(m.tobytes())``. "
4729+ "その配列が連続表現において利用するスペースです。これは ``len(m)`` と一致するとは限りません::"
47184730
47194731#: ../../library/stdtypes.rst:3763
47204732msgid "Multi-dimensional arrays::"
0 commit comments