|
4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
5 | 5 | # |
6 | 6 | # Translators: |
7 | | -# Freesand Leo <[email protected]>, 2019 |
8 | 7 | # Pandaaaa906 <[email protected]>, 2019 |
| 8 | +# Freesand Leo <[email protected]>, 2019 |
9 | 9 | # |
10 | 10 | #, fuzzy |
11 | 11 | msgid "" |
12 | 12 | msgstr "" |
13 | | -"Project-Id-Version: Python 3.7\n" |
| 13 | +"Project-Id-Version: Python 3.8\n" |
14 | 14 | "Report-Msgid-Bugs-To: \n" |
15 | | -"POT-Creation-Date: 2019-01-01 10:14+0900\n" |
| 15 | +"POT-Creation-Date: 2019-09-01 14:24+0000\n" |
16 | 16 | "PO-Revision-Date: 2017-02-16 17:34+0000\n" |
17 | | -"Last-Translator: Pandaaaa906 <ye.pandaaaa906@gmail.com>, 2019\n" |
| 17 | +"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n" |
18 | 18 | "Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
19 | 19 | "MIME-Version: 1.0\n" |
20 | 20 | "Content-Type: text/plain; charset=UTF-8\n" |
@@ -163,7 +163,12 @@ msgstr "返回复数 *op* 的C类型 :c:type:`Py_complex` 值。" |
163 | 163 | msgid "" |
164 | 164 | "If *op* is not a Python complex number object but has a :meth:`__complex__` " |
165 | 165 | "method, this method will first be called to convert *op* to a Python complex" |
166 | | -" number object. Upon failure, this method returns ``-1.0`` as a real value." |
| 166 | +" number object. If ``__complex__()`` is not defined then it falls back to " |
| 167 | +":meth:`__float__`. If ``__float__()`` is not defined then it falls back to " |
| 168 | +":meth:`__index__`. Upon failure, this method returns ``-1.0`` as a real " |
| 169 | +"value." |
| 170 | +msgstr "" |
| 171 | + |
| 172 | +#: ../../c-api/complex.rst:137 |
| 173 | +msgid "Use :meth:`__index__` if available." |
167 | 174 | msgstr "" |
168 | | -"如果 *op* 不是一个Python复数对象,但是有一个 :meth:`__complex__` 方法,这个方法会首先被调用,将 *op* " |
169 | | -"转换成为一个Python复数对象。失败时,此方法返回 ``-1.0`` 作为实数值。" |
|
0 commit comments