Skip to content

Commit 09a6b3c

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent ec94d5c commit 09a6b3c

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

library/math.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ msgid ""
588588
"a sequence (or iterable) of coordinates. The two points must have the same "
589589
"dimension."
590590
msgstr ""
591+
"それぞれ座標のシーケンス (またはイテラブル) として与えられる点 *p* と *q* の"
592+
"間のユークリッド距離を返します。二点の次元は同じでなければなりません。"
591593

592594
#: ../../library/math.rst:400
593595
msgid "Roughly equivalent to::"
@@ -599,19 +601,25 @@ msgid ""
599601
"the length of the vector from the origin to the point given by the "
600602
"coordinates."
601603
msgstr ""
604+
"ユークリッドノルム ``sqrt(sum(x**2 for x in coordinates))`` を返します。これ"
605+
"は原点から座標で与えられる点までのベクトルの長さです。"
602606

603607
#: ../../library/math.rst:413
604608
msgid ""
605609
"For a two dimensional point ``(x, y)``, this is equivalent to computing the "
606610
"hypotenuse of a right triangle using the Pythagorean theorem, ``sqrt(x*x + "
607611
"y*y)``."
608612
msgstr ""
613+
"二次元の点 ``(x, y)`` では、これは直角三角形の斜辺をピタゴラスの定理 "
614+
"``sqrt(x*x + y*y)`` を用いて計算することと等価です。"
609615

610616
#: ../../library/math.rst:417
611617
msgid ""
612618
"Added support for n-dimensional points. Formerly, only the two dimensional "
613619
"case was supported."
614620
msgstr ""
621+
"n 次元の点のサポートが追加されました。以前は、二次元の場合しかサポートされて"
622+
"いませんでした。"
615623

616624
#: ../../library/math.rst:424
617625
msgid "Return the sine of *x* radians."

library/stdtypes.po

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5444,23 +5444,25 @@ msgstr ""
54445444

54455445
#: ../../library/stdtypes.rst:3997
54465446
msgid "Sets can be created by several means:"
5447-
msgstr ""
5447+
msgstr "集合はいくつかの方法で生成できます:"
54485448

54495449
#: ../../library/stdtypes.rst:3999
54505450
msgid ""
54515451
"Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``"
5452-
msgstr ""
5452+
msgstr "波括弧内にカンマ区切りで要素を列挙する: ``{'jack', 'sjoerd'}``"
54535453

54545454
#: ../../library/stdtypes.rst:4000
54555455
msgid ""
54565456
"Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``"
5457-
msgstr ""
5457+
msgstr "集合内包表記を使う: ``{c for c in 'abracadabra' if c not in 'abc'}``"
54585458

54595459
#: ../../library/stdtypes.rst:4001
54605460
msgid ""
54615461
"Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
54625462
"'foo'])``"
54635463
msgstr ""
5464+
"型コンストラクタを使う: ``set()``, ``set('foobar')``, ``set(['a', 'b', "
5465+
"'foo'])``"
54645466

54655467
#: ../../library/stdtypes.rst:4003
54665468
msgid ""
@@ -5749,13 +5751,15 @@ msgstr ""
57495751

57505752
#: ../../library/stdtypes.rst:4195
57515753
msgid "Dictionaries can be created by several means:"
5752-
msgstr ""
5754+
msgstr "辞書はいくつかの方法で生成できます:"
57535755

57545756
#: ../../library/stdtypes.rst:4197
57555757
msgid ""
57565758
"Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': "
57575759
"4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``"
57585760
msgstr ""
5761+
"波括弧内にカンマ区切りで ``key: value`` 対を列挙する: ``{'jack': 4098, "
5762+
"'sjoerd': 4127}`` あるいは ``{4098: 'jack', 4127: 'sjoerd'}``"
57595763

57605764
#: ../../library/stdtypes.rst:4199
57615765
msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``"
@@ -5766,6 +5770,8 @@ msgid ""
57665770
"Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', "
57675771
"200)])``, ``dict(foo=100, bar=200)``"
57685772
msgstr ""
5773+
"型コンストラクタを使う: ``dict()``, ``dict([('foo', 100), ('bar', 200)])``, "
5774+
"``dict(foo=100, bar=200)``"
57695775

57705776
#: ../../library/stdtypes.rst:4203
57715777
msgid ""
@@ -5987,6 +5993,8 @@ msgid ""
59875993
"Return a reverse iterator over the keys of the dictionary. This is a "
59885994
"shortcut for ``reversed(d.keys())``."
59895995
msgstr ""
5996+
"辞書のキーに渡る逆イテレータを返します。これは ``reversed(d.keys())`` への"
5997+
"ショートカットです。"
59905998

59915999
#: ../../library/stdtypes.rst:4357
59926000
msgid ""
@@ -6038,6 +6046,9 @@ msgid ""
60386046
"value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', "
60396047
"'>') raise :exc:`TypeError`."
60406048
msgstr ""
6049+
"複数の辞書は、(順序に関係なく) 同じ ``(key, value)`` の対を持つ場合に、そして"
6050+
"その場合にのみ等しくなります。順序比較 ('<', '<=', '>=', '>') は :exc:"
6051+
"`TypeError` を送出します。"
60416052

60426053
#: ../../library/stdtypes.rst:4388
60436054
msgid ""
@@ -6486,6 +6497,9 @@ msgid ""
64866497
"Accessing ``__code__`` raises an :ref:`auditing event <auditing>` ``object."
64876498
"__getattr__`` with arguments ``obj`` and ``\"__code__\"``."
64886499
msgstr ""
6500+
"``__code__`` へのアクセスは ``object.__getattr__`` に ``obj`` と "
6501+
"``\"__code__\"`` を渡して行いますが、 :ref:`監査イベント <auditing>` を送出し"
6502+
"ます。"
64896503

64906504
#: ../../library/stdtypes.rst:4718
64916505
msgid ""

library/string.po

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

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

0 commit comments

Comments
 (0)