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

Skip to content

Commit 5d1bae9

Browse files
committed
[po] auto sync bot
1 parent cd40c33 commit 5d1bae9

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

library/bisect.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,12 @@ msgid ""
125125
"following five functions show how to transform them into the standard "
126126
"lookups for sorted lists::"
127127
msgstr ""
128+
"上面的 :func:`bisect` 函数对于找到插入点是有用的,但在一般的搜索任务中可能会有点尴尬。下面 5 "
129+
"个函数展示了如何将其转变成有序列表中的标准查找函数 ::"
128130

129131
#: ../../library/bisect.rst:114
130132
msgid "Other Examples"
131-
msgstr ""
133+
msgstr "其他示例"
132134

133135
#: ../../library/bisect.rst:118
134136
msgid ""
@@ -137,6 +139,8 @@ msgid ""
137139
"(say) based on a set of ordered numeric breakpoints: 90 and up is an 'A', 80"
138140
" to 89 is a 'B', and so on::"
139141
msgstr ""
142+
"函数 :func:`bisect` 还可以用于数字表查询。这个例子是使用 :func:`bisect` "
143+
"从一个给定的考试成绩集合里,通过一个有序数字表,查出其对应的字母等级:90 分及以上是 'A',80 到 89 是 'B',以此类推 ::"
140144

141145
#: ../../library/bisect.rst:130
142146
msgid ""
@@ -145,9 +149,11 @@ msgid ""
145149
"would lead to an inefficient design (successive calls to bisect functions "
146150
"would not \"remember\" all of the previous key lookups)."
147151
msgstr ""
152+
"与 :func:`sorted` 函数不同,对于 :func:`bisect` 函数来说,*key* 或者 *reversed* "
153+
"参数并没有什么意义。因为这会导致设计效率低下(连续调用 bisect 函数时,是不会 \"记住\" 过去查找过的键的)。"
148154

149155
#: ../../library/bisect.rst:135
150156
msgid ""
151157
"Instead, it is better to search a list of precomputed keys to find the index"
152158
" of the record in question::"
153-
msgstr ""
159+
msgstr "正相反,最好去搜索预先计算好的键列表,来查找相关记录的索引。"

library/collections.abc.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Jarry Shaw <[email protected]>, 2018
88
# Freesand Leo <[email protected]>, 2018
99
# walkinrain <[email protected]>, 2019
10+
# 刘玉龙 <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1718
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
18-
"Last-Translator: walkinrain <walkinrain2008@163.com>, 2019\n"
19+
"Last-Translator: 刘玉龙 <banbooliu@gmail.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -46,25 +47,25 @@ msgstr ""
4647

4748
#: ../../library/collections.abc.rst:31
4849
msgid "Collections Abstract Base Classes"
49-
msgstr ""
50+
msgstr "容器抽象基类"
5051

5152
#: ../../library/collections.abc.rst:33
5253
msgid ""
5354
"The collections module offers the following :term:`ABCs <abstract base "
5455
"class>`:"
55-
msgstr ""
56+
msgstr "这个容器模块提供了以下 :term:`ABCs <abstract base class>`:"
5657

5758
#: ../../library/collections.abc.rst:38
5859
msgid "ABC"
5960
msgstr ""
6061

6162
#: ../../library/collections.abc.rst:38
6263
msgid "Inherits from"
63-
msgstr ""
64+
msgstr "继承自"
6465

6566
#: ../../library/collections.abc.rst:38
6667
msgid "Abstract Methods"
67-
msgstr ""
68+
msgstr "抽象方法"
6869

6970
#: ../../library/collections.abc.rst:38
7071
msgid "Mixin Methods"

0 commit comments

Comments
 (0)