Skip to content

Commit bb1c5c7

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent fb36405 commit bb1c5c7

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

library/functions.po

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,21 +2600,32 @@ msgid ""
26002600
"``pow(inv_base, -exp, mod)`` is returned, where *inv_base* is an inverse to "
26012601
"*base* modulo *mod*."
26022602
msgstr ""
2603+
"*base* と *exp* が :class:`int` オペランドで *mod* が存在するとき、 *mod* も"
2604+
"また整数型でなければならず、かつゼロであってはいけません。 *mod* が存在して "
2605+
"*exp* が負の整数の場合、 *base* は *mod* と互いに素 (最大公約数が1) でなけれ"
2606+
"ばなりません。この場合、 *inv_base* を *base* に対する *mod* を法とするモジュ"
2607+
"ラ逆数 (*base* と *inv_base* の積を *mod* で割った余りが1になるような数) とし"
2608+
"て、 ``pow(inv_base, -exp, mod)`` が返されます。"
26032609

26042610
#: ../../library/functions.rst:1388
26052611
msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2606-
msgstr ""
2612+
msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です::"
26072613

26082614
#: ../../library/functions.rst:1395
26092615
msgid ""
26102616
"For :class:`int` operands, the three-argument form of ``pow`` now allows the "
26112617
"second argument to be negative, permitting computation of modular inverses."
26122618
msgstr ""
2619+
":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2620+
"ることができるようになりました。これによりモジュラ逆数の計算が可能になりま"
2621+
"す。"
26132622

26142623
#: ../../library/functions.rst:1400
26152624
msgid ""
26162625
"Allow keyword arguments. Formerly, only positional arguments were supported."
26172626
msgstr ""
2627+
"キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2628+
"トされていました。"
26182629

26192630
#: ../../library/functions.rst:1407
26202631
msgid ""
@@ -2877,6 +2888,11 @@ msgid ""
28772888
"whose name is not an identifier will not be accessible using the dot "
28782889
"notation, but is accessible through :func:`getattr` etc.."
28792890
msgstr ""
2891+
":meth:`~object.__getattribute__` のカスタマイズや :attr:`~object.__slots__` "
2892+
"を通じてオブジェクトが強制していない限り、 *name* は :ref:`identifiers` で定"
2893+
"義されている Python 識別子である必要はありません。属性名が識別子でない場合、"
2894+
"ドットを使った属性へのアクセスはできませんが、 :func:`getattr` などを通じてア"
2895+
"クセス可能です。"
28802896

28812897
#: ../../library/functions.rst:1593
28822898
msgid ""

library/venv.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ msgid ""
347347
"should be runnable without activating it."
348348
msgstr ""
349349
"Python を呼び出すときに仮想環境の Python インタプリタへのフルパスを指定すれば"
350-
"良いだけなので、仮想環境をアクティベートする*必要*はありません。さらに、仮想"
351-
"環境にインストールされたすべてのスクリプトはアクティベートせずとも実行可能な"
352-
"はずです。"
350+
"良いだけなので、仮想環境をアクティベートする *必要* はありません。さらに、"
351+
"想環境にインストールされたすべてのスクリプトはアクティベートせずとも実行可能"
352+
"なはずです。"
353353

354354
#: ../../library/venv.rst:97
355355
msgid ""

0 commit comments

Comments
 (0)