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

Skip to content

Commit 4155979

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent b48be87 commit 4155979

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

library/functions.po

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

24462452
#: ../../library/functions.rst:1310
24472453
msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2448-
msgstr ""
2454+
msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です::"
24492455

24502456
#: ../../library/functions.rst:1317
24512457
msgid ""
24522458
"For :class:`int` operands, the three-argument form of ``pow`` now allows the "
24532459
"second argument to be negative, permitting computation of modular inverses."
24542460
msgstr ""
2461+
":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2462+
"ることができるようになりました。これによりモジュラ逆数の計算が可能になりま"
2463+
"す。"
24552464

24562465
#: ../../library/functions.rst:1322
24572466
msgid ""
24582467
"Allow keyword arguments. Formerly, only positional arguments were supported."
24592468
msgstr ""
2469+
"キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2470+
"トされていました。"
24602471

24612472
#: ../../library/functions.rst:1329
24622473
msgid ""

0 commit comments

Comments
 (0)