[Python-checkins] python/dist/src/Doc/tut tut.tex,1.226,1.227
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Wed May 5 21:35:52 EDT 2004
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4856
Modified Files:
tut.tex
Log Message:
Patch #940026: Explain "in" when it is first used.
Backported to 2.3.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.226
retrieving revision 1.227
diff -C2 -d -r1.226 -r1.227
*** tut.tex 26 Mar 2004 07:56:23 -0000 1.226
--- tut.tex 6 May 2004 01:35:45 -0000 1.227
***************
*** 1429,1432 ****
--- 1429,1435 ----
\code{ask_ok('OK to overwrite the file?', 2)}.
+ This example also introduces the \keyword{in} keyword. This tests
+ whether or not a sequence contains a certain value.
+
The default values are evaluated at the point of function definition
in the \emph{defining} scope, so that
More information about the Python-checkins
mailing list