mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
parent
99872c1342
commit
f1f0560832
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue