Skip to content

Commit 37a4fdc

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent feac490 commit 37a4fdc

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
@@ -2417,21 +2417,32 @@ msgid ""
24172417
"``pow(inv_base, -exp, mod)`` is returned, where *inv_base* is an inverse to "
24182418
"*base* modulo *mod*."
24192419
msgstr ""
2420+
"*base* と *exp* が :class:`int` オペランドで *mod* が存在するとき、 *mod* も"
2421+
"また整数型でなければならず、かつゼロであってはいけません。 *mod* が存在して "
2422+
"*exp* が負の整数の場合、 *base* は *mod* と互いに素 (最大公約数が1) でなけれ"
2423+
"ばなりません。この場合、 *inv_base* を *base* に対する *mod* を法とするモジュ"
2424+
"ラ逆数 (*base* と *inv_base* の積を *mod* で割った余りが1になるような数) とし"
2425+
"て、 ``pow(inv_base, -exp, mod)`` が返されます。"
24202426

24212427
#: ../../library/functions.rst:1299
24222428
msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2423-
msgstr ""
2429+
msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です::"
24242430

24252431
#: ../../library/functions.rst:1306
24262432
msgid ""
24272433
"For :class:`int` operands, the three-argument form of ``pow`` now allows the "
24282434
"second argument to be negative, permitting computation of modular inverses."
24292435
msgstr ""
2436+
":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2437+
"ることができるようになりました。これによりモジュラ逆数の計算が可能になりま"
2438+
"す。"
24302439

24312440
#: ../../library/functions.rst:1311
24322441
msgid ""
24332442
"Allow keyword arguments. Formerly, only positional arguments were supported."
24342443
msgstr ""
2444+
"キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2445+
"トされていました。"
24352446

24362447
#: ../../library/functions.rst:1318
24372448
msgid ""

0 commit comments

Comments
 (0)