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

Skip to content

Commit 647f7eb

Browse files
committed
[po] auto sync bot
1 parent ec628fd commit 647f7eb

103 files changed

Lines changed: 28226 additions & 18720 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

c-api/code.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
13-
"Project-Id-Version: Python 3.7\n"
13+
"Project-Id-Version: Python 3.8\n"
1414
"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"
1616
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
1717
"Last-Translator: Meng Du <[email protected]>, 2019\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -63,7 +63,20 @@ msgstr ""
6363
"返回一个新的代码对象。 如果你需要一个虚拟代码对象来创建一个代码帧,请使用 :c:func:`PyCode_NewEmpty`。 调用 "
6464
":c:func:`PyCode_New` 直接可以绑定到准确的 Python 版本,因为字节码的定义经常变化。"
6565

66-
#: ../../c-api/code.rst:46
66+
#: ../../c-api/code.rst:43
67+
msgid ""
68+
"Raises an :ref:`auditing event <auditing>` ``code.__new__`` with arguments "
69+
"``code``, ``filename``, ``name``, ``argcount``, ``posonlyargcount``, "
70+
"``kwonlyargcount``, ``nlocals``, ``stacksize``, ``flags``."
71+
msgstr ""
72+
73+
#: ../../c-api/code.rst:47
74+
msgid ""
75+
"Similar to :c:func:`PyCode_New`, but with an extra \"posonlyargcount\" for "
76+
"positonal-only arguments."
77+
msgstr ""
78+
79+
#: ../../c-api/code.rst:53
6780
msgid ""
6881
"Return a new empty code object with the specified filename, function name, "
6982
"and first line number. It is illegal to :func:`exec` or :func:`eval` the "

c-api/complex.po

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2019
87
# Pandaaaa906 <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
13-
"Project-Id-Version: Python 3.7\n"
13+
"Project-Id-Version: Python 3.8\n"
1414
"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"
1616
"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"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -163,7 +163,12 @@ msgstr "返回复数 *op* 的C类型 :c:type:`Py_complex` 值。"
163163
msgid ""
164164
"If *op* is not a Python complex number object but has a :meth:`__complex__` "
165165
"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."
167174
msgstr ""
168-
"如果 *op* 不是一个Python复数对象,但是有一个 :meth:`__complex__` 方法,这个方法会首先被调用,将 *op* "
169-
"转换成为一个Python复数对象。失败时,此方法返回 ``-1.0`` 作为实数值。"

0 commit comments

Comments
 (0)