@@ -2468,6 +2468,12 @@ msgid ""
24682468"longer than 1 byte, and the ``LC_NUMERIC`` locale is different than the "
24692469"``LC_CTYPE`` locale. This temporary change affects other threads."
24702470msgstr ""
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+ "のロケール値を設定します。この一時的な変更は他のスレッドの動作に影響します。"
24712477
24722478#: ../../library/stdtypes.rst:1622
24732479msgid ""
@@ -3534,6 +3540,10 @@ msgid ""
35343540"(blindly applying text processing algorithms to binary data formats that are"
35353541" not ASCII compatible will usually lead to data corruption)."
35363542msgstr ""
3543+ "bytesリテラルと repr 出力は ASCII テキストをベースにしたものですが、 bytes オブジェクトは、各値が ``0 <= x < "
3544+ "256`` の範囲に収まるような整数 (この制限に違反しようとすると :exc:`ValueError` が発生します) "
3545+ "の不変なシーケンスとして振る舞います。多くのバイナリフォーマットがASCIIテキストを元にした要素を持っていたり何らかのテキスト操作アルゴリズムによって操作されるものの、任意のバイナリデータが一般にテキストになっているわけではないことを強調するためにこのように設計されました"
3546+ " (何も考えずにテキスト操作アルゴリズムをASCII非互換なバイナリデータフォーマットに対して行うとデータを破壊することがあります)。"
35373547
35383548#: ../../library/stdtypes.rst:2348
35393549msgid ""
@@ -4758,6 +4768,8 @@ msgid ""
47584768"amount of space in bytes that the array would use in a contiguous "
47594769"representation. It is not necessarily equal to ``len(m)``::"
47604770msgstr ""
4771+ "``nbytes == product(shape) * itemsize == len(m.tobytes())``. "
4772+ "その配列が連続表現において利用するスペースです。これは ``len(m)`` と一致するとは限りません::"
47614773
47624774#: ../../library/stdtypes.rst:3791
47634775msgid "Multi-dimensional arrays::"
0 commit comments