Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c68570f

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 25db117 commit c68570f

File tree

4 files changed

+52
-6
lines changed

4 files changed

+52
-6
lines changed

library/exceptions.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,9 @@ msgid ""
643643
"`compile`, :func:`exec`, or :func:`eval`, or when reading the initial script "
644644
"or standard input (also interactively)."
645645
msgstr ""
646+
"パーザが構文エラーに遭遇した場合に送出されます。この例外は :keyword:`import` "
647+
"文、組み込み関数 :func:`compile`、:func:`exec` や :func:`eval` 、初期化スクリ"
648+
"プトの読み込みや標準入力で (対話的な実行時にも) 起こる可能性があります。"
646649

647650
#: ../../library/exceptions.rst:401
648651
msgid ""

library/math.po

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,23 +520,29 @@ msgid ""
520520
"value of the least significant bit of *x*, such that the first float smaller "
521521
"than *x* is ``x - ulp(x)``."
522522
msgstr ""
523+
"*x* が表現可能な最大の正の浮動小数点数に等しいなら、*x* より小さい最初の浮動"
524+
"小数点数が ``x - ulp(x)`` であるような、*x* の最下位ビットの値を返します。"
523525

524526
#: ../../library/math.rst:318
525527
msgid ""
526528
"Otherwise (*x* is a positive finite number), return the value of the least "
527529
"significant bit of *x*, such that the first float bigger than *x* is ``x + "
528530
"ulp(x)``."
529531
msgstr ""
532+
"それ以外 (*x* が正の有限な数) なら、*x* より大きい最初の浮動小数点数が ``x + "
533+
"ulp(x)`` であるような、*x* の最下位ビットの値を返します。"
530534

531535
#: ../../library/math.rst:322
532536
msgid "ULP stands for \"Unit in the Last Place\"."
533-
msgstr ""
537+
msgstr "ULP は \"Unit in the Last Place\" の略です。"
534538

535539
#: ../../library/math.rst:324
536540
msgid ""
537541
"See also :func:`math.nextafter` and :data:`sys.float_info.epsilon <sys."
538542
"float_info>`."
539543
msgstr ""
544+
":func:`math.nextafter` および :data:`sys.float_info.epsilon <sys."
545+
"float_info>` も参照してください。"
540546

541547
#: ../../library/math.rst:330
542548
msgid ""
@@ -671,19 +677,21 @@ msgstr "三角関数"
671677
msgid ""
672678
"Return the arc cosine of *x*, in radians. The result is between ``0`` and "
673679
"``pi``."
674-
msgstr ""
680+
msgstr "*x* の逆余弦を、ラジアンで返します。結果は ``0`` と ``pi`` の間です。"
675681

676682
#: ../../library/math.rst:432
677683
msgid ""
678684
"Return the arc sine of *x*, in radians. The result is between ``-pi/2`` and "
679685
"``pi/2``."
680686
msgstr ""
687+
"*x* の逆正弦を、ラジアンで返します。結果は ``-pi/2`` と ``pi/2`` の間です。"
681688

682689
#: ../../library/math.rst:438
683690
msgid ""
684691
"Return the arc tangent of *x*, in radians. The result is between ``-pi/2`` "
685692
"and ``pi/2``."
686693
msgstr ""
694+
"*x* の逆正接を、ラジアンで返します。結果は ``-pi/2`` と ``pi/2`` の間です。"
687695

688696
#: ../../library/math.rst:444
689697
msgid ""
@@ -711,6 +719,8 @@ msgid ""
711719
"a sequence (or iterable) of coordinates. The two points must have the same "
712720
"dimension."
713721
msgstr ""
722+
"それぞれ座標のシーケンス (またはイテラブル) として与えられる点 *p* と *q* の"
723+
"間のユークリッド距離を返します。二点の次元は同じでなければなりません。"
714724

715725
#: ../../library/math.rst:463
716726
msgid "Roughly equivalent to::"
@@ -722,19 +732,25 @@ msgid ""
722732
"the length of the vector from the origin to the point given by the "
723733
"coordinates."
724734
msgstr ""
735+
"ユークリッドノルム ``sqrt(sum(x**2 for x in coordinates))`` を返します。これ"
736+
"は原点から座標で与えられる点までのベクトルの長さです。"
725737

726738
#: ../../library/math.rst:476
727739
msgid ""
728740
"For a two dimensional point ``(x, y)``, this is equivalent to computing the "
729741
"hypotenuse of a right triangle using the Pythagorean theorem, ``sqrt(x*x + "
730742
"y*y)``."
731743
msgstr ""
744+
"二次元の点 ``(x, y)`` では、これは直角三角形の斜辺をピタゴラスの定理 "
745+
"``sqrt(x*x + y*y)`` を用いて計算することと等価です。"
732746

733747
#: ../../library/math.rst:480
734748
msgid ""
735749
"Added support for n-dimensional points. Formerly, only the two dimensional "
736750
"case was supported."
737751
msgstr ""
752+
"n 次元の点のサポートが追加されました。以前は、二次元の場合しかサポートされて"
753+
"いませんでした。"
738754

739755
#: ../../library/math.rst:487
740756
msgid "Return the sine of *x* radians."

library/stdtypes.po

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5082,6 +5082,10 @@ msgid ""
50825082
"support the buffer protocol. Built-in objects that support the buffer "
50835083
"protocol include :class:`bytes` and :class:`bytearray`."
50845084
msgstr ""
5085+
"*object* を参照する :class:`memoryview` を作成します。 *object* はバッファプ"
5086+
"ロトコルをサポートしていなければなりません。バッファプロトコルをサポートする"
5087+
"組み込みオブジェクトには、 :class:`bytes` 、 :class:`bytearray` などがありま"
5088+
"す。"
50855089

50865090
#: ../../library/stdtypes.rst:3618
50875091
msgid ""
@@ -5090,6 +5094,10 @@ msgid ""
50905094
"as :class:`bytes` and :class:`bytearray`, an element is a single byte, but "
50915095
"other types such as :class:`array.array` may have bigger elements."
50925096
msgstr ""
5097+
":class:`memoryview` は元となる *object* が扱うメモリーの最小単位を *要素* と"
5098+
"して扱います。多くの単純なオブジェクト、例えば :class:`bytes` や :class:"
5099+
"`bytearray` では、要素は単バイトになりますが、他の :class:`array.array` 等の"
5100+
"型では、要素はより大きくなりえます。"
50935101

50945102
#: ../../library/stdtypes.rst:3623
50955103
msgid ""
@@ -5536,23 +5544,25 @@ msgstr ""
55365544

55375545
#: ../../library/stdtypes.rst:4121
55385546
msgid "Sets can be created by several means:"
5539-
msgstr ""
5547+
msgstr "集合はいくつかの方法で生成できます:"
55405548

55415549
#: ../../library/stdtypes.rst:4123
55425550
msgid ""
55435551
"Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``"
5544-
msgstr ""
5552+
msgstr "波括弧内にカンマ区切りで要素を列挙する: ``{'jack', 'sjoerd'}``"
55455553

55465554
#: ../../library/stdtypes.rst:4124
55475555
msgid ""
55485556
"Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``"
5549-
msgstr ""
5557+
msgstr "集合内包表記を使う: ``{c for c in 'abracadabra' if c not in 'abc'}``"
55505558

55515559
#: ../../library/stdtypes.rst:4125
55525560
msgid ""
55535561
"Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
55545562
"'foo'])``"
55555563
msgstr ""
5564+
"型コンストラクタを使う: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
5565+
"'foo'])``"
55565566

55575567
#: ../../library/stdtypes.rst:4127
55585568
msgid ""
@@ -5841,13 +5851,15 @@ msgstr ""
58415851

58425852
#: ../../library/stdtypes.rst:4319
58435853
msgid "Dictionaries can be created by several means:"
5844-
msgstr ""
5854+
msgstr "辞書はいくつかの方法で生成できます:"
58455855

58465856
#: ../../library/stdtypes.rst:4321
58475857
msgid ""
58485858
"Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': "
58495859
"4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``"
58505860
msgstr ""
5861+
"波括弧内にカンマ区切りで ``key: value`` 対を列挙する: ``{'jack': 4098, "
5862+
"'sjoerd': 4127}`` あるいは ``{4098: 'jack', 4127: 'sjoerd'}``"
58515863

58525864
#: ../../library/stdtypes.rst:4323
58535865
msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``"
@@ -5858,6 +5870,8 @@ msgid ""
58585870
"Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', "
58595871
"200)])``, ``dict(foo=100, bar=200)``"
58605872
msgstr ""
5873+
"型コンストラクタを使う: ``dict()``, ``dict([('foo', 100), ('bar', 200)])``, "
5874+
"``dict(foo=100, bar=200)``"
58615875

58625876
#: ../../library/stdtypes.rst:4327
58635877
msgid ""
@@ -6079,6 +6093,8 @@ msgid ""
60796093
"Return a reverse iterator over the keys of the dictionary. This is a "
60806094
"shortcut for ``reversed(d.keys())``."
60816095
msgstr ""
6096+
"辞書のキーに渡る逆イテレータを返します。これは ``reversed(d.keys())`` への"
6097+
"ショートカットです。"
60826098

60836099
#: ../../library/stdtypes.rst:4482
60846100
msgid ""
@@ -6144,6 +6160,9 @@ msgid ""
61446160
"value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', "
61456161
"'>') raise :exc:`TypeError`."
61466162
msgstr ""
6163+
"複数の辞書は、(順序に関係なく) 同じ ``(key, value)`` の対を持つ場合に、そして"
6164+
"その場合にのみ等しくなります。順序比較 ('<', '<=', '>=', '>') は :exc:"
6165+
"`TypeError` を送出します。"
61476166

61486167
#: ../../library/stdtypes.rst:4529
61496168
msgid ""
@@ -6887,6 +6906,9 @@ msgid ""
68876906
"Accessing ``__code__`` raises an :ref:`auditing event <auditing>` ``object."
68886907
"__getattr__`` with arguments ``obj`` and ``\"__code__\"``."
68896908
msgstr ""
6909+
"``__code__`` へのアクセスは ``object.__getattr__`` に ``obj`` と "
6910+
"``\"__code__\"`` を渡して行いますが、 :ref:`監査イベント <auditing>` を送出し"
6911+
"ます。"
68906912

68916913
#: ../../library/stdtypes.rst:5053
68926914
msgid ""
@@ -7078,6 +7100,9 @@ msgid ""
70787100
"This method returns a list of all those references still alive. The list is "
70797101
"in definition order. Example::"
70807102
msgstr ""
7103+
"それぞれのクラスは、それ自身の直接のサブクラスへの弱参照を保持します。このメ"
7104+
"ソッドはそれらの参照のうち、生存しているもののリストを返します。リストは定義"
7105+
"順です。例::"
70817106

70827107
#: ../../library/stdtypes.rst:5209
70837108
msgid "Footnotes"

library/string.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ msgid ""
503503
"result as if you had called :func:`str` on the value. A non-empty format "
504504
"specification typically modifies the result."
505505
msgstr ""
506+
"一般的な取り決めとして、空の書式指定は、値に対して :func:`str` を呼び出したと"
507+
"きと同じ結果を与えます。通常、空でない書式指定はその結果を変更します。"
506508

507509
#: ../../library/string.rst:309
508510
msgid "The general form of a *standard format specifier* is:"

0 commit comments

Comments
 (0)