Differences between revisions 4 and 5
Revision 4 as of 2006-04-07 11:55:16
Size: 1051
Editor: ZoomQuiet
Comment:
Revision 5 as of 2006-04-07 13:00:04
Size: 1051
Editor: OsmondLiang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= 2006-03-27 修订List = = 2006-04-07 修订List =

2006-04-07 修订List

TableOfContents [http://python.cn/pipermail/python-chinese/2006-April/023389.html Re: python-chinese Digest, Vol 28, Issue 49] 汇报错误

校对文件: odbchelper.xml

章节: [http://www.woodpecker.org.cn/obp/diveintopython-zh-5.4/zh-cn/dist/html/native_data_types/lists.html#id2593713 3.2. List 介绍]

请注意这里的对称性。在这个包含 5 个元素的 list 中, <!> li[3:] li[:3] 返回前 3 个元素, 而 <!> li[:3] li[3:] 返回后 2 个元素。实际上, <!> li[n:] li[:n] 总是返回前 n 个元素, 而 <!> li[:n] li[n:] 将返回剩下的元素, 不管 list 有多长。

版本建议

index.xml 中追加一节:

<para>中文版:2006/04/07  翻译:<ulink url="http://wiki.woodpecker.org.cn/moin/CPUG">啄木鸟/CPUG</ulink> <ulink url="http://wiki.woodpecker.org.cn/moin/DiveIntoPythonZh">obp 团队</ulink></para>

建议在进行了修订后,及时修订此处的日期,标记我们啄木鸟输出版本

DiveIntoPythonZh/2006-04-07 (last edited 2009-12-25 07:15:50 by localhost)