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

Skip to content

Commit 1ca7315

Browse files
committed
[po] auto sync bot
1 parent d104ad4 commit 1ca7315

4 files changed

Lines changed: 19 additions & 10 deletions

File tree

c-api/tuple.po

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# 操旭 <[email protected]>, 2017
88
# dykai <[email protected]>, 2019
9+
# Freesand Leo <[email protected]>, 2019
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1617
"PO-Revision-Date: 2017-02-16 17:39+0000\n"
17-
"Last-Translator: dykai <yingkaidang@gmail.com>, 2019\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1819
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -28,26 +29,27 @@ msgstr "元组对象"
2829

2930
#: ../../c-api/tuple.rst:13
3031
msgid "This subtype of :c:type:`PyObject` represents a Python tuple object."
31-
msgstr "这个:c:type:`PyObject`的子类型代表一个Python的元组对象。"
32+
msgstr "这个 :c:type:`PyObject` 的子类型代表一个 Python 的元组对象。"
3233

3334
#: ../../c-api/tuple.rst:18
3435
msgid ""
3536
"This instance of :c:type:`PyTypeObject` represents the Python tuple type; it"
3637
" is the same object as :class:`tuple` in the Python layer."
3738
msgstr ""
38-
":c:type:`PyTypeObject`的实例代表一个Python元组类型,这与Python层面的:class:`tuple`是相同的对象。"
39+
":c:type:`PyTypeObject` 的实例代表一个 Python 元组类型,这与 Python 层面的 :class:`tuple` "
40+
"是相同的对象。"
3941

4042
#: ../../c-api/tuple.rst:24
4143
msgid ""
4244
"Return true if *p* is a tuple object or an instance of a subtype of the "
4345
"tuple type."
44-
msgstr "如果*p*是一个元组对象或者元组类型的子类型的实例,则返回真。"
46+
msgstr "如果 *p* 是一个元组对象或者元组类型的子类型的实例,则返回真值。"
4547

4648
#: ../../c-api/tuple.rst:30
4749
msgid ""
4850
"Return true if *p* is a tuple object, but not an instance of a subtype of "
4951
"the tuple type."
50-
msgstr "如果*p*是一个元组对象,而不是一个元组子类型的实例,则返回真。"
52+
msgstr "如果 *p* 是一个元组对象,而不是一个元组子类型的实例,则返回真值。"
5153

5254
#: ../../c-api/tuple.rst:36
5355
msgid "Return a new tuple object of size *len*, or *NULL* on failure."

howto/logging.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ msgstr "如果没有消息格式字符串,则默认使用原始消息。如果
842842
msgid ""
843843
"with the milliseconds tacked on at the end. The ``style`` is one of `%`, '{'"
844844
" or '$'. If one of these is not specified, then '%' will be used."
845-
msgstr "最后加上毫秒数。 ``style`` 是 `%`'{ ' 或 '$' 之一。如果未指定其中一个,则将使用'%'。"
845+
msgstr "最后加上毫秒数。 ``style`` 是 `%`'{ ' 或 '$' 之一。 如果未指定其中一个,则将使用 '%'。"
846846

847847
#: ../../howto/logging.rst:548
848848
msgid ""
@@ -853,8 +853,8 @@ msgid ""
853853
"arguments), while if the style is '$' then the message format string should "
854854
"conform to what is expected by :meth:`string.Template.substitute`."
855855
msgstr ""
856-
"如果``style``'%',则消息格式字符串使用 ``%(<dictionary key>)s`` 样式字符串替换;可能的键值在 :ref"
857-
":`logrecord-attributes` 中。 如果样式为 '{' ,则假定消息格式字符串与 :meth:`str.format` "
856+
"如果 ``style``'%',则消息格式字符串使用 ``%(<dictionary key>)s`` 样式字符串替换;可能的键值在 :ref"
857+
":`logrecord-attributes` 中。 如果样式为 '{',则假定消息格式字符串与 :meth:`str.format` "
858858
"(使用关键字参数)兼容,而如果样式为 '$' ,则消息格式字符串应符合 :meth:`string.Template.substitute` 。"
859859

860860
#: ../../howto/logging.rst:555

whatsnew/3.5.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3117,7 +3117,7 @@ msgstr ""
31173117
msgid ""
31183118
"Due to an oversight, earlier Python versions erroneously accepted the "
31193119
"following syntax::"
3120-
msgstr ""
3120+
msgstr "由于一个疏忽,之前的 Python 版本会错误地接受以下语法::"
31213121

31223122
#: ../../whatsnew/3.5.rst:2391
31233123
msgid ""

whatsnew/3.7.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3897,18 +3897,22 @@ msgid ""
38973897
"and generators are transformed into :exc:`RuntimeError` exceptions. "
38983898
"(Contributed by Yury Selivanov in :issue:`32670`.)"
38993899
msgstr ""
3900+
":pep:`479` 在 Python 3.7 中对所有代码启用,在协程和生成器中直接或间接引发的 :exc:`StopIteration` "
3901+
"异常会被转换为 :exc:`RuntimeError` 异常。 (由 Yury Selivanov 在 :issue:`32670` 中贡献。)"
39003902

39013903
#: ../../whatsnew/3.7.rst:2227
39023904
msgid ""
39033905
":meth:`object.__aiter__` methods can no longer be declared as asynchronous."
39043906
" (Contributed by Yury Selivanov in :issue:`31709`.)"
39053907
msgstr ""
3908+
":meth:`object.__aiter__` 方法不再能被声明为异步的。 (由 Yury Selivanov 在 :issue:`31709` "
3909+
"中贡献。)"
39063910

39073911
#: ../../whatsnew/3.7.rst:2230
39083912
msgid ""
39093913
"Due to an oversight, earlier Python versions erroneously accepted the "
39103914
"following syntax::"
3911-
msgstr ""
3915+
msgstr "由于一个疏忽,之前的 Python 版本会错误地接受以下语法::"
39123916

39133917
#: ../../whatsnew/3.7.rst:2238
39143918
msgid ""
@@ -3918,6 +3922,9 @@ msgid ""
39183922
"can be omitted only on calls. (Contributed by Serhiy Storchaka in "
39193923
":issue:`32012` and :issue:`32023`.)"
39203924
msgstr ""
3925+
"现在 Python 3.7 会正确地引发 :exc:`SyntaxError`,因为生成器表达式总是必须直接包含于一对括号之内, "
3926+
"且前后都不能有逗号,仅在调用时可以忽略重复的括号。 (由 Serhiy Storchaka 在 :issue:`32012` 和 "
3927+
":issue:`32023` 中贡献。)"
39213928

39223929
#: ../../whatsnew/3.7.rst:2244
39233930
msgid ""

0 commit comments

Comments
 (0)