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

Skip to content

Commit 54fa550

Browse files
committed
[po] auto sync bot
1 parent 1e761e0 commit 54fa550

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

howto/functional.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Zephyr Waitzman <[email protected]>, 2018
1010
# Kder <[email protected]>, 2018
1111
# Freesand Leo <[email protected]>, 2019
12-
# zkonge, 2019
1312
# chen_chao <[email protected]>, 2019
13+
# zkonge, 2019
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2121
"PO-Revision-Date: 2017-02-16 17:44+0000\n"
22-
"Last-Translator: chen_chao <[email protected]>, 2019\n"
22+
"Last-Translator: zkonge, 2019\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1058,13 +1058,13 @@ msgid ""
10581058
"iterator, so this can consume significant memory if the iterator is large "
10591059
"and one of the new iterators is consumed more than the others. ::"
10601060
msgstr ""
1061+
":func:`itertools.tee(iter, [n]) <itertools.tee>` 可以复制一个迭代器;它返回 *n* "
1062+
"个能够返回源迭代器内容的独立迭代器。如果你不提供参数 *n*,默认值为 "
1063+
"2。复制迭代器需要保存源迭代器的一部分内容,因此在源迭代器比较大的时候会显著地占用内存;同时,在所有新迭代器中,有一个迭代器会比其他迭代器占用更多的内存。"
10611064

10621065
#: ../../howto/functional.rst:819
10631066
msgid "Calling functions on elements"
1064-
msgstr ""
1065-
":func:`itertools.tee(iter, [n]) <itertools.tee>` 可以复制一个迭代器;它返回 *n* "
1066-
"个能够返回源迭代器内容的独立迭代器。如果你不提供参数 *n*,默认值为 "
1067-
"2。复制迭代器需要保存源迭代器的一部分内容,因此在源迭代器比较大的时候会显著地占用内存;同时,新迭代器中的一个会比其他迭代器占用更多的内存。"
1067+
msgstr "在元素上调用函数"
10681068

10691069
#: ../../howto/functional.rst:821
10701070
msgid ""
@@ -1194,7 +1194,7 @@ msgstr ""
11941194

11951195
#: ../../howto/functional.rst:947
11961196
msgid "Grouping elements"
1197-
msgstr ""
1197+
msgstr "对元素分组"
11981198

11991199
#: ../../howto/functional.rst:949
12001200
msgid ""

library/functools.po

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# ww song <[email protected]>, 2018
88
# zc Jin <[email protected]>, 2018
99
# Freesand Leo <[email protected]>, 2018
10-
# ppcfish <[email protected]>, 2019
1110
# akira asura <[email protected]>, 2019
11+
# zkonge, 2019
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1919
"PO-Revision-Date: 2017-02-16 23:12+0000\n"
20-
"Last-Translator: akira asura <[email protected]>, 2019\n"
20+
"Last-Translator: zkonge, 2019\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -58,8 +58,8 @@ msgid ""
5858
msgstr ""
5959
"将(旧式的)比较函数转换为新式的 :term:`key function` . 在类似于 :func:`sorted` , :func:`min` ,"
6060
" :func:`max` , :func:`heapq.nlargest` , :func:`heapq.nsmallest` , "
61-
":func:`itertools.groupby` 等函数的`key`参数中使用。此函数主要用于转换Python "
62-
"2程序至新版的转换工具,从而保持对比较函数的兼容。"
61+
":func:`itertools.groupby` 等函数的 `key` 参数中使用。此函数主要用作将 Python 2 "
62+
"程序转换至新版的转换工具,以保持对比较函数的兼容。"
6363

6464
#: ../../library/functools.rst:32
6565
msgid ""
@@ -107,15 +107,16 @@ msgid ""
107107
"If *maxsize* is set to ``None``, the LRU feature is disabled and the cache "
108108
"can grow without bound. The LRU feature performs best when *maxsize* is a "
109109
"power-of-two."
110-
msgstr "如果*maxsize*设置为``None``,LRU功能将被禁用且缓存数量无上限。 *maxsize* 设置为2的幂时可获得最佳性能。"
110+
msgstr ""
111+
"如果 *maxsize* 设置为 ``None`` ,LRU功能将被禁用且缓存数量无上限。 *maxsize* 设置为2的幂时可获得最佳性能。"
111112

112113
#: ../../library/functools.rst:64
113114
msgid ""
114115
"If *typed* is set to true, function arguments of different types will be "
115116
"cached separately. For example, ``f(3)`` and ``f(3.0)`` will be treated as "
116117
"distinct calls with distinct results."
117118
msgstr ""
118-
"如果*typed*设置为true,不同类型的函数参数将被分别缓存。例如, ``f(3)`` 和 ``f(3.0)`` 将被视为不同而分别缓存。"
119+
"如果 *typed* 设置为true,不同类型的函数参数将被分别缓存。例如, ``f(3)`` 和 ``f(3.0)`` 将被视为不同而分别缓存。"
119120

120121
#: ../../library/functools.rst:68
121122
msgid ""

0 commit comments

Comments
 (0)