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

Skip to content

Commit 76eb42a

Browse files
committed
[po] auto sync bot
1 parent 3e0d688 commit 76eb42a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

reference/datamodel.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ msgid ""
159159
"different, unique, newly created empty lists. (Note that ``c = d = []`` "
160160
"assigns the same object to both ``c`` and ``d``.)"
161161
msgstr ""
162+
"类型会影响对象行为的几乎所有方面。甚至对象编号的重要性也在某种程度上受到影响: "
163+
"对于不可变类型,会得出新值的运算实际上会返回对相同类型和取值的任一现有对象的引用,而对于可变类型来说这是不允许的。例如在 ``a = 1; b = "
164+
"1`` 之后,``a`` 和 ``b`` 可能会也可能不会指向同一个值为一的对象,这取决于具体实现,但是在 ``c = []; d = []`` "
165+
"之后,``c`` 和 ``d`` 保证会指向两个不同、单独的新建空列表。(请注意 ``c = d = []`` 则是将同一个对象赋值给 ``c`` 和 "
166+
"``d``。)"
162167

163168
#: ../../reference/datamodel.rst:120
164169
msgid "The standard type hierarchy"

0 commit comments

Comments
 (0)