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
34bafcc0
Commit
34bafcc0
authored
Jan 14, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a variety of minor nits and typos caught by Chris Ryland
<cpr@emsoftware.com>.
parent
3ad167ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Doc/ref/ref5.tex
Doc/ref/ref5.tex
+7
-7
No files found.
Doc/ref/ref5.tex
View file @
34bafcc0
...
...
@@ -264,9 +264,9 @@ attributeref: primary "." identifier
\end{verbatim}
The primary must evaluate to an object of a type that supports
attribute references, e.g., a module
or a list. This object is then
asked to produce the attribute whose name is the identifier. If this
attribute is not available, the exception
attribute references, e.g., a module
, list, or an instance. This
object is then asked to produce the attribute whose name is the
identifier. If this
attribute is not available, the exception
\exception
{
AttributeError
}
\exindex
{
AttributeError
}
is raised.
Otherwise, the type and value of the object produced is determined by
the object. Multiple evaluations of the same attribute reference may
...
...
@@ -758,13 +758,13 @@ execution of a program.
The operators
\keyword
{
in
}
and
\keyword
{
not in
}
test for set
membership: every type can define membership in whatever way is
appropriate. Traditionally, this interface has been tightly bound
appropriate. Traditionally, this interface has been tightly bound
to
the sequence interface, which is related in that presence in a sequence
can be usefully interpreted as membership in a set.
For the list
, tuple types,
\code
{
\var
{
x
}
in
\var
{
y
}}
is true if and only
if there exists such an index
\var
{
i
}
such that
\code
{
var
{
x
}
==
\var
{
y
}
[
\var
{
i
}
]
}
is true.
For the list
and tuple types,
\code
{
\var
{
x
}
in
\var
{
y
}}
is true if and
only
if there exists such an index
\var
{
i
}
such that
\code
{
\
var
{
x
}
==
\var
{
y
}
[
\var
{
i
}
]
}
is true.
For the Unicode and string types,
\code
{
\var
{
x
}
in
\var
{
y
}}
is true if
and only if there exists an index
\var
{
i
}
such that
\code
{
\var
{
x
}
==
...
...
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