File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ msgstr ""
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2018-06-30 05:56+0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : Kaizhao Zhang <zhangkaizhao@gmail .com>, 2018\n "
13+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2018\n "
1414"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1515"MIME-Version : 1.0\n "
1616"Content-Type : text/plain; charset=UTF-8\n "
@@ -45,3 +45,4 @@ msgid ""
4545"See also the Python development mode: the :option:`-X` ``dev`` option and "
4646":envvar:`PYTHONDEVMODE` environment variable."
4747msgstr ""
48+ "另请参看 Python 开发模式: :option:`-X` ``dev`` 选项以及 :envvar:`PYTHONDEVMODE` 环境变量。"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ msgstr ""
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2018-08-04 08:47+0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : 刘士 <liushilive@outlook .com>, 2018\n "
13+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2018\n "
1414"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1515"MIME-Version : 1.0\n "
1616"Content-Type : text/plain; charset=UTF-8\n "
@@ -62,7 +62,7 @@ msgstr ""
6262msgid ""
6363"Remove the first item from the list whose value is equal to *x*. It raises "
6464"a ``ValueError`` if there is no such item."
65- msgstr ""
65+ msgstr "从列表中移除值等于 *x* 的第一个条目。如果无此条目则会引发 ``ValueError``。 "
6666
6767#: ../../tutorial/datastructures.rst:50
6868msgid ""
@@ -461,6 +461,8 @@ msgid ""
461461"``sorted(d)`` instead). To check whether a single key is in the dictionary, "
462462"use the :keyword:`in` keyword."
463463msgstr ""
464+ "对一个字典执行 ``list(d)`` 将返回包含该字典中所有键的列表,按插入次序排列 (如需其他排序,则要使用 "
465+ "``sorted(d)``)。要检查字典中是否存在一个特定键,可使用 :keyword:`in` 关键字。"
464466
465467#: ../../tutorial/datastructures.rst:517
466468msgid "Here is a small example using a dictionary::"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ msgstr ""
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2018-09-25 09:16+0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : Fred <fred.wei@foxmail .com>, 2018\n "
13+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2018\n "
1414"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1515"MIME-Version : 1.0\n "
1616"Content-Type : text/plain; charset=UTF-8\n "
@@ -53,6 +53,9 @@ msgid ""
5353"installer. To add this directory to your path, you can type the following "
5454"command into the command prompt in a DOS box::"
5555msgstr ""
56+ "在 Windows 系统上,Python 安装位置通常为 "
57+ ":file:`C:\\\\ Python37`,不过你可以在运行安装程序时修改此位置。要将安装目录添加到查找路径,你可以在 DOS "
58+ "命令提示符窗口输入以下命令::"
5659
5760#: ../../tutorial/interpreter.rst:33
5861msgid ""
You can’t perform that action at this time.
0 commit comments