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

Skip to content

Commit a7f3163

Browse files
committed
[po] auto sync bot
1 parent 1f27564 commit a7f3163

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

library/numbers.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ msgid ""
175175
" an instance of ``A``, which is a subtype of :class:`Complex` (``a : A <: "
176176
"Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:"
177177
msgstr ""
178-
" :class:`Complex` 有5种不同的混合类型的操作。我将上面提到的所有代码作为“样板文件”称作``MyIntegral`` 和 "
178+
" :class:`Complex` 有5种不同的混合类型的操作。我将上面提到的所有代码作为“模板”称作``MyIntegral`` 和 "
179179
"``OtherTypeIKnowAbout``。 ``a`` 是 :class:`Complex` 的子类型 ``A`` 的实例,(``a : A "
180180
"<: Complex``), 同时 ``b : B <: Complex``。我将要计算 ``a + b``:"
181181

182182
#: ../../library/numbers.rst:159
183183
msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well."
184-
msgstr ""
184+
msgstr "如果 ``A`` 被定义成一个承认``b`` :meth:`__add__`,一切都没有问题。"
185185

186186
#: ../../library/numbers.rst:161
187187
msgid ""
@@ -191,6 +191,9 @@ msgid ""
191191
":const:`NotImplemented` from :meth:`__add__`. (Or ``A`` may not implement "
192192
":meth:`__add__` at all.)"
193193
msgstr ""
194+
"如果 ``A`` 转回成“模板”失败,它将返回一个属于 :meth:`__add__` 的值,我们需要避免 ``B`` 定义了一个更加智能的 "
195+
":meth:`__radd__`,因此模板需要返回一个属于 :meth:`__add__` 的 :const:`NotImplemented` 。(或者"
196+
" ``A`` 可能完全不实现 :meth:`__add__` 。)"
194197

195198
#: ../../library/numbers.rst:167
196199
msgid ""

0 commit comments

Comments
 (0)