[Python-checkins] CVS: python/dist/src/Doc/ref ref5.tex,1.27.4.2,1.27.4.3

Fred L. Drake python-dev@python.org
2000年3月22日 13:24:10 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Doc/ref
In directory weyr:/home/fdrake/projects/python/Doc-152p2/ref
Modified Files:
 Tag: release152p1-patches
	ref5.tex 
Log Message:
If the second index of a slice is omitted, it defaults to sys.maxint,
not len(s). Reported by Bernhard Herzog <herzog@online.de>.
Index: ref5.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.27.4.2
retrieving revision 1.27.4.3
diff -C2 -r1.27.4.2 -r1.27.4.3
*** ref5.tex	2000年03月16日 14:54:48	1.27.4.2
--- ref5.tex	2000年03月22日 18:24:07	1.27.4.3
***************
*** 339,343 ****
 evaluate to a sequence object. The lower and upper bound expressions,
 if present, must evaluate to plain integers; defaults are zero and the
! sequence's length, respectively. If either bound is negative, the
 sequence's length is added to it. The slicing now selects all items
 with index \var{k} such that
--- 339,343 ----
 evaluate to a sequence object. The lower and upper bound expressions,
 if present, must evaluate to plain integers; defaults are zero and the
! \code{sys.maxint}, respectively. If either bound is negative, the
 sequence's length is added to it. The slicing now selects all items
 with index \var{k} such that

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