@@ -2600,21 +2600,32 @@ msgid ""
26002600"``pow(inv_base, -exp, mod)`` is returned, where *inv_base* is an inverse to "
26012601"*base* modulo *mod*."
26022602msgstr ""
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
26052611msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2606- msgstr ""
2612+ msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です:: "
26072613
26082614#: ../../library/functions.rst:1395
26092615msgid ""
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."
26122618msgstr ""
2619+ ":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2620+ "ることができるようになりました。これによりモジュラ逆数の計算が可能になりま"
2621+ "す。"
26132622
26142623#: ../../library/functions.rst:1400
26152624msgid ""
26162625"Allow keyword arguments. Formerly, only positional arguments were supported."
26172626msgstr ""
2627+ "キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2628+ "トされていました。"
26182629
26192630#: ../../library/functions.rst:1407
26202631msgid ""
@@ -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.."
28792890msgstr ""
2891+ ":meth:`~object.__getattribute__` のカスタマイズや :attr:`~object.__slots__` "
2892+ "を通じてオブジェクトが強制していない限り、 *name* は :ref:`identifiers` で定"
2893+ "義されている Python 識別子である必要はありません。属性名が識別子でない場合、"
2894+ "ドットを使った属性へのアクセスはできませんが、 :func:`getattr` などを通じてア"
2895+ "クセス可能です。"
28802896
28812897#: ../../library/functions.rst:1593
28822898msgid ""
0 commit comments