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
f42cc45f
Commit
f42cc45f
authored
May 03, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The general iteration support is part of 2.2, not 2.1 -- fixed the version
annotations! Also fixed a typo noted by Neil S.
parent
9cfe1824
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+1
-0
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+2
-2
No files found.
Doc/lib/libexcs.tex
View file @
f42cc45f
...
...
@@ -243,6 +243,7 @@ Raised when an \keyword{assert} statement fails.
This is derived from
\exception
{
Exception
}
rather than
\exception
{
StandardError
}
, since this is not considered an error in
its normal application.
\versionadded
{
2.2
}
\end{excdesc}
\begin{excdesc}
{
SyntaxError
}
...
...
Doc/lib/libstdtypes.tex
View file @
f42cc45f
...
...
@@ -315,7 +315,7 @@ division by \code{pow(2, \var{n})} without overflow check.
\subsection
{
Iterator Types
\label
{
typeiter
}}
\versionadded
{
2.
1
}
\versionadded
{
2.
2
}
\index
{
iterator protocol
}
\index
{
protocol!iterator
}
\index
{
sequence!iteration
}
...
...
@@ -351,7 +351,7 @@ two methods, which together form the \dfn{iterator protocol}:
the Python/C API.
\end{methoddesc}
\begin{methoddesc}
[iterat
p
r]
{
next
}{}
\begin{methoddesc}
[iterat
o
r]
{
next
}{}
Return the next item from the container. If there are no further
items, raise the
\exception
{
StopIteration
}
exception. This method
corresponds to the
\member
{
tp
_
iternext
}
slot of the type structure
...
...
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