From: Martin v. Löwis Date: Thu, 6 May 2004 01:34:56 +0000 (+0000) Subject: Patch #940026: Explain "in" when it is first used. X-Git-Tag: v2.3.4c1~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3ea9012256407c4448d6d275badbadf43acfbd7;p=thirdparty%2FPython%2Fcpython.git Patch #940026: Explain "in" when it is first used. --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 50421f240c9b..18417a5e419c 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -1428,6 +1428,9 @@ This function can be called either like this: \code{ask_ok('Do you really want to quit?')} or like this: \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