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

Skip to content

Commit 5211fb2

Browse files
[po] auto sync
1 parent 2696bd4 commit 5211fb2

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

library/heapq.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Jerry Chen <[email protected]>, 2017
88
# Meng Du <[email protected]>, 2019
99
# iceyasha <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2021
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1818
"PO-Revision-Date: 2017-02-16 23:13+0000\n"
19-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
19+
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -47,9 +47,9 @@ msgid ""
4747
"elements are considered to be infinite. The interesting property of a heap "
4848
"is that its smallest element is always the root, ``heap[0]``."
4949
msgstr ""
50-
"堆是一个二叉树,它的每个父节点的值都只会小于或大于所有孩子节点(的值)。它使用了数组来实现:从零开始计数,对于所有的 *k* ,都有 ``heap[k]"
51-
" <= heap[2*k+1]`` 和 ``heap[k] <= heap[2*k+2]``。 为了便于比较,不存在的元素被认为是无限大。 "
52-
"堆最有趣的特性在于最小的元素总是在根结点:``heap[0]``。"
50+
"堆是一个二叉树,它的每个父节点的值都只会小于或等于所有孩子节点(的值)。 它使用了数组来实现:从零开始计数,对于所有的 *k* ,都有 "
51+
"``heap[k] <= heap[2*k+1]`` 和 ``heap[k] <= heap[2*k+2]``。 "
52+
"为了便于比较,不存在的元素被认为是无限大。 堆最有趣的特性在于最小的元素总是在根结点:``heap[0]``。"
5353

5454
#: ../../library/heapq.rst:26
5555
msgid ""

whatsnew/3.6.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ msgstr ":ref:`特性文档 <class-customization>`"
483483

484484
#: ../../whatsnew/3.6.rst:364
485485
msgid "PEP 487: Descriptor Protocol Enhancements"
486-
msgstr ""
486+
msgstr "PEP 487: 描述器协议的增强"
487487

488488
#: ../../whatsnew/3.6.rst:366
489489
msgid ""
@@ -495,10 +495,13 @@ msgid ""
495495
"instances of descriptors can now know the attribute name of the descriptor "
496496
"in the owner class::"
497497
msgstr ""
498+
":pep:`487` 扩展了描述器协议以包括新的可选方法 :meth:`~object.__set_name__`。 "
499+
"当创建一个新类时,这个新方法将在定义中包括的所有描述器上被调用,为它们提供对所定义类的引用以及在类命名中间中给予描述器的名称。 "
500+
"换句话说,描述器的实例现在能知道描述器在所有者类中的属性名称::"
498501

499502
#: ../../whatsnew/3.6.rst:396
500503
msgid ":ref:`Feature documentation <descriptors>`"
501-
msgstr ""
504+
msgstr ":ref:`特性文档 <descriptors>`"
502505

503506
#: ../../whatsnew/3.6.rst:402
504507
msgid "PEP 519: Adding a file system path protocol"

0 commit comments

Comments
 (0)