[Python-checkins] CVS: python/dist/src/Doc/tut tut.tex,1.128,1.129

Fred L. Drake fdrake@users.sourceforge.net
2001年3月05日 23:19:36 -0800


Update of /cvsroot/python/python/dist/src/Doc/tut
In directory usw-pr-cvs1:/tmp/cvs-serv15830/tut
Modified Files:
	tut.tex 
Log Message:
Correct typos in Ping's email address.
Remove premature use of negative indexes in string operation examples;
negative indexes have not been explained at that point, and the use of
negative indexes are not necessary for the examples.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.128
retrieving revision 1.129
diff -C2 -r1.128 -r1.129
*** tut.tex	2001年02月14日 03:20:18	1.128
--- tut.tex	2001年03月06日 07:19:34	1.129
***************
*** 621,625 ****
 File "<stdin>", line 1, in ?
 TypeError: object doesn't support item assignment
! >>> word[:-1] = 'Splat'
 Traceback (most recent call last):
 File "<stdin>", line 1, in ?
--- 621,625 ----
 File "<stdin>", line 1, in ?
 TypeError: object doesn't support item assignment
! >>> word[:1] = 'Splat'
 Traceback (most recent call last):
 File "<stdin>", line 1, in ?
***************
*** 633,637 ****
 >>> 'x' + word[1:]
 'xelpA'
! >>> 'Splat' + word[-1:]
 'SplatA'
 \end{verbatim}
--- 633,637 ----
 >>> 'x' + word[1:]
 'xelpA'
! >>> 'Splat' + word[4]
 'SplatA'
 \end{verbatim}
***************
*** 1646,1650 ****
 
 \subsection{Using Lists as Stacks \label{lists-as-stacks}}
! \sectionauthor{Ka-Ping Yee}{ping@lfs.org}
 
 The list methods make it very easy to use a list as a stack, where the
--- 1646,1650 ----
 
 \subsection{Using Lists as Stacks \label{lists-as-stacks}}
! \sectionauthor{Ka-Ping Yee}{ping@lfw.org}
 
 The list methods make it very easy to use a list as a stack, where the
***************
*** 1674,1678 ****
 
 \subsection{Using Lists as Queues \label{lists-as-queues}}
! \sectionauthor{Ka-Ping Yee}{ping@lfs.org}
 
 You can also use a list conveniently as a queue, where the first
--- 1674,1678 ----
 
 \subsection{Using Lists as Queues \label{lists-as-queues}}
! \sectionauthor{Ka-Ping Yee}{ping@lfw.org}
 
 You can also use a list conveniently as a queue, where the first

AltStyle によって変換されたページ (->オリジナル) /