[Python-checkins] CVS: python/dist/src/Doc/ref ref2.tex,1.23,1.24
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 22 Jun 2001 22:26:55 -0700
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv5476/ref
Modified Files:
ref2.tex
Log Message:
Add "yeild" to the list of keywords.
Fix a very minor (but annoying when looking for things!) markup nit.
Index: ref2.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref2.tex,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** ref2.tex 2001/02/14 04:03:51 1.23
--- ref2.tex 2001/06/23 05:26:52 1.24
***************
*** 29,32 ****
--- 29,33 ----
set.
+
\section{Line structure\label{line-structure}}
***************
*** 34,37 ****
--- 35,39 ----
\index{line structure}
+
\subsection{Logical lines\label{logical}}
***************
*** 47,50 ****
--- 49,53 ----
\index{NEWLINE token}
+
\subsection{Physical lines\label{physical}}
***************
*** 55,58 ****
--- 58,62 ----
character.
+
\subsection{Comments\label{comments}}
***************
*** 65,68 ****
--- 69,73 ----
\index{hash character}
+
\subsection{Explicit line joining\label{explicit-joining}}
***************
*** 204,207 ****
--- 209,213 ----
\code{return r} does not match a level popped off the stack.)
+
\subsection{Whitespace between tokens\label{whitespace}}
***************
*** 212,215 ****
--- 218,222 ----
different token (e.g., ab is one token, but a b is two tokens).
+
\section{Other tokens\label{other-tokens}}
***************
*** 223,226 ****
--- 230,234 ----
forms a legal token, when read from left to right.
+
\section{Identifiers and keywords\label{identifiers}}
***************
*** 240,243 ****
--- 248,252 ----
Identifiers are unlimited in length. Case is significant.
+
\subsection{Keywords\label{keywords}}
***************
*** 252,257 ****
assert elif from lambda return
break else global not try
! class except if or while
! continue exec import pass
def finally in print
\end{verbatim}
--- 261,266 ----
assert elif from lambda return
break else global not try
! class except if or yeild
! continue exec import pass while
def finally in print
\end{verbatim}
***************
*** 259,262 ****
--- 268,272 ----
% When adding keywords, use reswords.py for reformatting
+
\subsection{Reserved classes of identifiers\label{id-classes}}
***************
*** 288,291 ****
--- 298,302 ----
\index{constant}
+
\subsection{String literals\label{strings}}
***************
*** 385,388 ****
--- 396,400 ----
as part of the string, \emph{not} as a line continuation.
+
\subsection{String literal concatenation\label{string-catenation}}
***************
*** 435,438 ****
--- 447,451 ----
`\code{-}' and the literal \code{1}.
+
\subsection{Integer and long integer literals\label{integers}}
***************
*** 469,472 ****
--- 482,486 ----
\end{verbatim}
+
\subsection{Floating point literals\label{floating}}
***************
*** 499,502 ****
--- 513,517 ----
\code{-} and the literal \code{1}.
+
\subsection{Imaginary literals\label{imaginary}}
***************
*** 532,535 ****
--- 547,551 ----
spellings of the same operator. \code{!=} is the preferred spelling;
\code{<>} is obsolescent.
+
\section{Delimiters\label{delimiters}}