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
8f68df3d
Commit
8f68df3d
authored
Oct 08, 2004
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF patch #1041364: True/False instead of 1/0 in libstdtypes.tex
(Contributed by Gerrit Holl. Reviewed by Jeff Epler.)
parent
c0063723
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+3
-3
No files found.
Doc/lib/libstdtypes.tex
View file @
8f68df3d
...
...
@@ -451,9 +451,9 @@ This table lists the sequence operations sorted in ascending priority
and
\var
{
j
}
are integers:
\begin{tableiii}
{
c|l|c
}{
code
}{
Operation
}{
Result
}{
Notes
}
\lineiii
{
\var
{
x
}
in
\var
{
s
}}{
\code
{
1
}
if an item of
\var
{
s
}
is equal to
\var
{
x
}
, else
\code
{
0
}}{
(1)
}
\lineiii
{
\var
{
x
}
not in
\var
{
s
}}{
\code
{
0
}
if an item of
\var
{
s
}
is
equal to
\var
{
x
}
, else
\code
{
1
}}{
(1)
}
\lineiii
{
\var
{
x
}
in
\var
{
s
}}{
\code
{
True
}
if an item of
\var
{
s
}
is equal to
\var
{
x
}
, else
\code
{
False
}}{
(1)
}
\lineiii
{
\var
{
x
}
not in
\var
{
s
}}{
\code
{
False
}
if an item of
\var
{
s
}
is
equal to
\var
{
x
}
, else
\code
{
True
}}{
(1)
}
\hline
\lineiii
{
\var
{
s
}
+
\var
{
t
}}{
the concatenation of
\var
{
s
}
and
\var
{
t
}}{
(6)
}
\lineiii
{
\var
{
s
}
*
\var
{
n
}
\textrm
{
,
}
\var
{
n
}
*
\var
{
s
}}{
\var
{
n
}
shallow copies of
\var
{
s
}
concatenated
}{
(2)
}
...
...
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