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 : Fred <fred.wei@foxmail .com>, 2018\n "
13+ "Last-Translator : 玉龙 刘 <banbooliu@gmail .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 "
@@ -100,6 +100,8 @@ msgid ""
100100" It is possible to let the range start at another number, or to specify a "
101101"different increment (even negative; sometimes this is called the 'step')::"
102102msgstr ""
103+ "给定的终止数值并不在要生成的序列里;``range(10)``会生成10个值,并且是以合法的索引生成一个长度为10的序列。range也可以以另一个数字开头,或者以指定的幅度增加(甚至是负数;有时这也被叫做"
104+ " '步进') ::"
103105
104106#: ../../tutorial/controlflow.rst:116
105107msgid ""
@@ -124,6 +126,7 @@ msgid ""
124126"items of the desired sequence when you iterate over it, but it doesn't "
125127"really make the list, thus saving space."
126128msgstr ""
129+ "有时候:func:`range`返回的对象表现得像个列表,但它并不是列表。当你迭代这个对象时,它会像序列一样返回正确的元素,但它并不是真的生成了个列表,这种操作可以节省空间。"
127130
128131#: ../../tutorial/controlflow.rst:142
129132msgid ""
You can’t perform that action at this time.
0 commit comments