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

Fred L. Drake python-dev@python.org
Sat, 13 Jan 2001 18:57:17 -0800


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv4514/ref

Modified Files:
	ref5.tex 
Log Message:

Fix a variety of minor nits and typos caught by Chris Ryland
<cpr@emsoftware.com>.


Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** ref5.tex	2000/12/11 22:39:24	1.40
--- ref5.tex	2001/01/14 02:57:14	1.41
***************
*** 265,271 ****
  
  The primary must evaluate to an object of a type that supports
! attribute references, e.g., a module or a list.  This object is then
! asked to produce the attribute whose name is the identifier.  If this
! attribute is not available, the exception
  \exception{AttributeError}\exindex{AttributeError} is raised.
  Otherwise, the type and value of the object produced is determined by
--- 265,271 ----
  
  The primary must evaluate to an object of a type that supports
! attribute references, e.g., a module, list, or an instance.  This
! object is then asked to produce the attribute whose name is the
! identifier.  If this attribute is not available, the exception
  \exception{AttributeError}\exindex{AttributeError} is raised.
  Otherwise, the type and value of the object produced is determined by
***************
*** 759,769 ****
  The operators \keyword{in} and \keyword{not in} test for set
  membership: every type can define membership in whatever way is
! appropriate.  Traditionally, this interface has been tightly bound
  the sequence interface, which is related in that presence in a sequence
  can be usefully interpreted as membership in a set.
  
! For the list, tuple types, \code{\var{x} in \var{y}} is true if and only
! if there exists such an index \var{i} such that
! \code{var{x} == \var{y}[\var{i}]} is true.
  
  For the Unicode and string types, \code{\var{x} in \var{y}} is true if
--- 759,769 ----
  The operators \keyword{in} and \keyword{not in} test for set
  membership: every type can define membership in whatever way is
! appropriate.  Traditionally, this interface has been tightly bound to
  the sequence interface, which is related in that presence in a sequence
  can be usefully interpreted as membership in a set.
  
! For the list and tuple types, \code{\var{x} in \var{y}} is true if and
! only if there exists such an index \var{i} such that
! \code{\var{x} == \var{y}[\var{i}]} is true.
  
  For the Unicode and string types, \code{\var{x} in \var{y}} is true if