Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1f0560

Browse files
committed
Patch #940026: Explain "in" when it is first used.
Backported to 2.3.
1 parent 99872c1 commit f1f0560

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/tut/tut.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,9 @@ \subsection{Default Argument Values \label{defaultArgs}}
14281428
\code{ask_ok('Do you really want to quit?')} or like this:
14291429
\code{ask_ok('OK to overwrite the file?', 2)}.
14301430

1431+
This example also introduces the \keyword{in} keyword. This tests
1432+
whether or not a sequence contains a certain value.
1433+
14311434
The default values are evaluated at the point of function definition
14321435
in the \emph{defining} scope, so that
14331436

0 commit comments

Comments
 (0)