[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.132, 1.133

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Thu Sep 11 18:02:40 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv6428

Modified Files:
	libstdtypes.tex 
Log Message:
SF bug #804280:  fromkeys is not listed in index



Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** libstdtypes.tex	8 Sep 2003 18:52:18 -0000	1.132
--- libstdtypes.tex	12 Sep 2003 00:02:37 -0000	1.133
***************
*** 1083,1087 ****
  object identity) may not be used as keys.
  Numeric types used for keys obey the normal rules for numeric
! comparison: if two numbers compare equal (e.g. \code{1} and
  \code{1.0}) then they can be used interchangeably to index the same
  dictionary entry.
--- 1083,1087 ----
  object identity) may not be used as keys.
  Numeric types used for keys obey the normal rules for numeric
! comparison: if two numbers compare equal (such as \code{1} and
  \code{1.0}) then they can be used interchangeably to index the same
  dictionary entry.
***************
*** 1103,1106 ****
--- 1103,1107 ----
    \ttindex{copy()}
    \ttindex{has_key()}
+   \ttindex{fromkeys()}    
    \ttindex{items()}
    \ttindex{keys()}
***************
*** 1269,1273 ****
  
  \begin{methoddesc}[file]{next}{}
! A file object is its own iterator, i.e. \code{iter(\var{f})} returns
  \var{f} (unless \var{f} is closed).  When a file is used as an
  iterator, typically in a \keyword{for} loop (for example,
--- 1270,1274 ----
  
  \begin{methoddesc}[file]{next}{}
! A file object is its own iterator, for example \code{iter(\var{f})} returns
  \var{f} (unless \var{f} is closed).  When a file is used as an
  iterator, typically in a \keyword{for} loop (for example,
***************
*** 1507,1512 ****
  
  Function objects also support getting and setting arbitrary
! attributes, which can be used to, e.g. attach metadata to functions.
! Regular attribute dot-notation is used to get and set such
  attributes. \emph{Note that the current implementation only supports
  function attributes on user-defined functions.  Function attributes on
--- 1508,1513 ----
  
  Function objects also support getting and setting arbitrary
! attributes, which can be used, for example, to attach metadata to
! functions.  Regular attribute dot-notation is used to get and set such
  attributes. \emph{Note that the current implementation only supports
  function attributes on user-defined functions.  Function attributes on





More information about the Python-checkins mailing list