88# Shengjing Zhu <[email protected] >, 201999# ppcfish <[email protected] >, 20191010# Meng Du <[email protected] >, 201911- # Freesand Leo <[email protected] >, 2019 11+ # Freesand Leo <[email protected] >, 2020 1212#
1313#, fuzzy
1414msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717"Report-Msgid-Bugs-To : \n "
1818"POT-Creation-Date : 2020-05-31 09:25+0000\n "
1919"PO-Revision-Date : 2017-02-16 17:42+0000\n "
20- "
Last-Translator :
Freesand Leo <[email protected] >, 2019 \n "
20+ "
Last-Translator :
Freesand Leo <[email protected] >, 2020 \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 "
@@ -59,6 +59,8 @@ msgid ""
5959" will sometimes stare at it a long time wondering as to why ``y`` is being "
6060"decremented even for ``x > y``."
6161msgstr ""
62+ "如果条件为真,则只执行 ``x++`` 语句,但缩进会使你认为情况并非如此。 即使是经验丰富的 C 程序员有时也会长久地盯着它发呆,不明白为什么在 "
63+ "``x > y``时 ``y`` 也会减少。"
6264
6365#: ../../faq/design.rst:31
6466msgid ""
@@ -68,6 +70,8 @@ msgid ""
6870"style, it is normal to feel somewhat uneasy when reading (or being required "
6971"to write) in a different one."
7072msgstr ""
73+ "因为没有开始/结束花括号,所以 Python 更不容易发生编码风格冲突。 在 C 中有许多不同的放置花括号的方式。 "
74+ "在习惯了阅读和编写某种特定风格的代码之后,当阅读(或被要求编写)另一种风格的代码时通常都会令人感觉有点不舒服)。"
7175
7276#: ../../faq/design.rst:38
7377msgid ""
@@ -904,6 +908,9 @@ msgid ""
904908"write any of the actual code. Of course Python allows you to be sloppy and "
905909"not write test cases at all."
906910msgstr ""
911+ "编写测试套件非常有用,并且你可能希望将你的代码设计为易于测试。 "
912+ "一种日益流行的技术是面向测试的开发,它要求在编写任何实际代码之前首先编写测试套件的各个部分。 当然 Python "
913+ "也允许你采用更粗率的方式,不必编写任何测试用例。"
907914
908915#: ../../faq/design.rst:603
909916msgid "Why is there no goto?"
@@ -968,7 +975,7 @@ msgid ""
968975"Python has a 'with' statement that wraps the execution of a block, calling "
969976"code on the entrance and exit from the block. Some languages have a "
970977"construct that looks like this::"
971- msgstr ""
978+ msgstr "Python 具有 'with' 语句,它能将一个代码块的执行包装起来,在进入和退出代码块时调用特定的代码。 有些语言具有这样的结构:: "
972979
973980#: ../../faq/design.rst:661
974981msgid "In Python, such a construct would be ambiguous."
0 commit comments