Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f1f05608
Commit
f1f05608
authored
May 06, 2004
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #940026: Explain "in" when it is first used.
Backported to 2.3.
parent
99872c13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Doc/tut/tut.tex
Doc/tut/tut.tex
+3
-0
No files found.
Doc/tut/tut.tex
View file @
f1f05608
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment