[Python-checkins]
python/dist/src/Doc/lib libstdtypes.tex, 1.129.8.3, 1.129.8.4
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Thu Sep 11 18:03:58 EDT 2003
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv6847
Modified Files:
Tag: release23-maint
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.129.8.3
retrieving revision 1.129.8.4
diff -C2 -d -r1.129.8.3 -r1.129.8.4
*** libstdtypes.tex 8 Sep 2003 18:55:01 -0000 1.129.8.3
--- libstdtypes.tex 12 Sep 2003 00:03:56 -0000 1.129.8.4
***************
*** 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