[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.170.2.9, 1.170.2.10

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Tue Jun 14 10:47:21 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12360

Modified Files:
      Tag: release24-maint
	libstdtypes.tex 
Log Message:
SF bug #1215887:  String and list methods documentation deeply hidden

Make doc on specific types easier to find by listing them in the headings
for the abstract types.



Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.170.2.9
retrieving revision 1.170.2.10
diff -u -d -r1.170.2.9 -r1.170.2.10
--- libstdtypes.tex	31 May 2005 10:28:07 -0000	1.170.2.9
+++ libstdtypes.tex	14 Jun 2005 08:47:19 -0000	1.170.2.10
@@ -72,7 +72,9 @@
 \index{False}
 \index{True}
 
-\subsection{Boolean Operations \label{boolean}}
+\subsection{Boolean Operations ---
+	    \keyword{and}, \keyword{or}, \keyword{not}
+	    \label{boolean}}
 
 These are the Boolean operations, ordered by ascending priority:
 \indexii{Boolean}{operations}
@@ -173,7 +175,9 @@
 only by sequence types (below).
 
 
-\subsection{Numeric Types \label{typesnumeric}}
+\subsection{Numeric Types ---
+	    \class{int}, \class{float}, \class{long}, \class{complex}
+	    \label{typesnumeric}}
 
 There are four distinct numeric types: \dfn{plain integers},
 \dfn{long integers}, 
@@ -256,7 +260,7 @@
   \lineiii{float(\var{x})}{\var{x} converted to floating point}{}
   \lineiii{complex(\var{re},\var{im})}{a complex number with real part \var{re}, imaginary part \var{im}.  \var{im} defaults to zero.}{}
   \lineiii{\var{c}.conjugate()}{conjugate of the complex number \var{c}}{}
-  \lineiii{divmod(\var{x}, \var{y})}{the pair \code{(\var{x} / \var{y}, \var{x} \%{} \var{y})}}{(3)(4)}
+  \lineiii{divmod(\var{x}, \var{y})}{the pair \code{(\var{x} // \var{y}, \var{x} \%{} \var{y})}}{(3)(4)}
   \lineiii{pow(\var{x}, \var{y})}{\var{x} to the power \var{y}}{}
   \lineiii{\var{x} ** \var{y}}{\var{x} to the power \var{y}}{}
 \end{tableiii}
@@ -405,7 +409,10 @@
 supplying the \method{__iter__()} and \method{next()} methods.
 
 
-\subsection{Sequence Types \label{typesseq}}
+\subsection{Sequence Types ---
+	    \class{str}, \class{unicode}, \class{list},
+	    \class{tuple}, \class{buffer}, \class{xrange}
+	    \label{typesseq}}
 
 There are six sequence types: strings, Unicode strings, lists,
 tuples, buffers, and xrange objects.
@@ -1157,7 +1164,9 @@
   that the list has been mutated during a sort.
 \end{description}
 
-\subsection{Set Types \label{types-set}}
+\subsection{Set Types ---
+	    \class{set}, \class{frozenset}
+	    \label{types-set}}
 \obindex{set}
 
 A \dfn{set} object is an unordered collection of immutable values.
@@ -1283,7 +1292,7 @@
 as an argument.
 
 
-\subsection{Mapping Types \label{typesmapping}}
+\subsection{Mapping Types --- class{dict} \label{typesmapping}}
 \obindex{mapping}
 \obindex{dictionary}
 



More information about the Python-checkins mailing list