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

Skip to content

Commit 94d7f1b

Browse files
committed
[po] auto sync bot
1 parent 1dc6c56 commit 94d7f1b

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

reference/datamodel.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,12 +2489,12 @@ msgid ""
24892489
"Any non-string iterable may be assigned to *__slots__*. Mappings may also be"
24902490
" used; however, in the future, special meaning may be assigned to the values"
24912491
" corresponding to each key."
2492-
msgstr ""
2492+
msgstr "任何非字符串可迭代对象都可以被赋值给 *__slots__*。映射也可以被使用;不过,未来可能会分别赋给每个键具有特殊含义的值。"
24932493

24942494
#: ../../reference/datamodel.rst:1778
24952495
msgid ""
24962496
"*__class__* assignment works only if both classes have the same *__slots__*."
2497-
msgstr ""
2497+
msgstr "*__class__* 赋值仅在两个类具有相同的 *__slots__* 时才会起作用。"
24982498

24992499
#: ../../reference/datamodel.rst:1780
25002500
msgid ""

tutorial/modules.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# eric R <[email protected]>, 2018
99
# ww song <[email protected]>, 2018
1010
# Junkai Shao <[email protected]>, 2018
11+
# Freesand Leo <[email protected]>, 2018
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1819
"PO-Revision-Date: 2017-02-16 23:41+0000\n"
19-
"Last-Translator: Junkai Shao <skaifun.dev@gmail.com>, 2018\n"
20+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -559,10 +560,10 @@ msgid ""
559560
"for importing \\* from their package. For example, the file "
560561
":file:`sound/effects/__init__.py` could contain the following code::"
561562
msgstr ""
562-
"唯一的解决方案是让包作者提供包的显式索引。:keyword:`import` 语句使用下面的规范:如果一个包的 :file:`__init__.py` "
563-
"代码定义了一个名为 ``__all__`` 的列表,它将被视为遇到``from package import *`` "
564-
"时应该导入的模块名列表。在发布新版本的软件包时,由软件包作者决定是否保持此列表的最新状态。如果包作者没有看到从包中导入 \\* "
565-
"的用途,他们也可能决定不支持它。比如,文件 :file:`sound/effects/__init__.py` 可以包含以下代码::"
563+
"唯一的解决方案是让包作者提供一个包的显式索引。:keyword:`import` 语句使用下面的规范:如果一个包的 "
564+
":file:`__init__.py` 代码定义了一个名为 ``__all__`` 的列表,它会被视为在遇到 ``from package import"
565+
" *`` 时应该导入的模块名列表。在发布该包的新版本时,包作者可以决定是否让此列表保持更新。包作者如果认为从他们的包中导入 \\* "
566+
"的操作没有必要被使用,也可以决定不支持此列表。例如,文件 :file:`sound/effects/__init__.py` 可以包含以下代码::"
566567

567568
#: ../../tutorial/modules.rst:501
568569
msgid ""

0 commit comments

Comments
 (0)