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

Skip to content

Commit 9ed6cb6

Browse files
committed
[po] auto sync bot
1 parent f69a2ef commit 9ed6cb6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

library/numbers.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ msgstr ""
181181

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

186186
#: ../../library/numbers.rst:161
187187
msgid ""
@@ -199,20 +199,22 @@ msgstr ""
199199
msgid ""
200200
"Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is "
201201
"well."
202-
msgstr ""
202+
msgstr "接着看 ``B`` 的 :meth:`__radd__` 。如果它承认 ``a`` ,一切都没有问题。"
203203

204204
#: ../../library/numbers.rst:169
205205
msgid ""
206206
"If it falls back to the boilerplate, there are no more possible methods to "
207207
"try, so this is where the default implementation should live."
208-
msgstr ""
208+
msgstr "如果没有成功回退到模板,就没有更多的方法可以去尝试,因此这里将使用默认的实现。"
209209

210210
#: ../../library/numbers.rst:172
211211
msgid ""
212212
"If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok,"
213213
" because it was implemented with knowledge of ``A``, so it can handle those "
214214
"instances before delegating to :class:`Complex`."
215215
msgstr ""
216+
"如果 ``B <: A`` , Python 在 ``A.__add__`` 之前尝试 ``B.__radd__`` 。 这是可行的,是通过对 "
217+
"``A`` 的认识实现的,因此这可以在交给 :class:`Complex` 处理之前处理这些实例。"
216218

217219
#: ../../library/numbers.rst:177
218220
msgid ""

0 commit comments

Comments
 (0)