@@ -2600,21 +2600,32 @@ msgid ""
2600
2600
"``pow(inv_base, -exp, mod)`` is returned, where *inv_base* is an inverse to "
2601
2601
"*base* modulo *mod*."
2602
2602
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)`` が返されます。"
2603
2609
2604
2610
#: ../../library/functions.rst:1388
2605
2611
msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2606
- msgstr ""
2612
+ msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です:: "
2607
2613
2608
2614
#: ../../library/functions.rst:1395
2609
2615
msgid ""
2610
2616
"For :class:`int` operands, the three-argument form of ``pow`` now allows the "
2611
2617
"second argument to be negative, permitting computation of modular inverses."
2612
2618
msgstr ""
2619
+ ":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2620
+ "ることができるようになりました。これによりモジュラ逆数の計算が可能になりま"
2621
+ "す。"
2613
2622
2614
2623
#: ../../library/functions.rst:1400
2615
2624
msgid ""
2616
2625
"Allow keyword arguments. Formerly, only positional arguments were supported."
2617
2626
msgstr ""
2627
+ "キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2628
+ "トされていました。"
2618
2629
2619
2630
#: ../../library/functions.rst:1407
2620
2631
msgid ""
@@ -2877,6 +2888,11 @@ msgid ""
2877
2888
"whose name is not an identifier will not be accessible using the dot "
2878
2889
"notation, but is accessible through :func:`getattr` etc.."
2879
2890
msgstr ""
2891
+ ":meth:`~object.__getattribute__` のカスタマイズや :attr:`~object.__slots__` "
2892
+ "を通じてオブジェクトが強制していない限り、 *name* は :ref:`identifiers` で定"
2893
+ "義されている Python 識別子である必要はありません。属性名が識別子でない場合、"
2894
+ "ドットを使った属性へのアクセスはできませんが、 :func:`getattr` などを通じてア"
2895
+ "クセス可能です。"
2880
2896
2881
2897
#: ../../library/functions.rst:1593
2882
2898
msgid ""
0 commit comments