File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.8\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2019-09-01 14:24 +0000\n "
22+ "POT-Creation-Date : 2019-10-26 11:46 +0000\n "
2323"PO-Revision-Date : 2017-02-16 23:40+0000\n "
2424"
Last-Translator :
Freesand Leo <[email protected] >, 2019\n "
2525"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -610,13 +610,11 @@ msgstr "也可以把比较操作或者逻辑表达式的结果赋值给一个变
610610
611611#: ../../tutorial/datastructures.rst:678
612612msgid ""
613- "Note that in Python, unlike C, assignment cannot occur inside expressions. C "
614- " programmers may grumble about this, but it avoids a common class of "
613+ "Note that in Python, unlike C, assignment inside expressions must be done "
614+ "explicitly with the walrus operator ``:=``. This avoids a common class of "
615615"problems encountered in C programs: typing ``=`` in an expression when "
616616"``==`` was intended."
617617msgstr ""
618- "注意 Python 与 C 不同,赋值操作不能发生在表达式内部。C程序员可能会对此抱怨,但它避免了一类C程序中常见的错误:想在表达式中写 ``==`` "
619- "时却写成了 ``=``。"
620618
621619#: ../../tutorial/datastructures.rst:687
622620msgid "Comparing Sequences and Other Types"
You can’t perform that action at this time.
0 commit comments