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
45185a48
Commit
45185a48
authored
Jul 10, 2004
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo.
parent
20112178
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Doc/tut/tut.tex
Doc/tut/tut.tex
+1
-1
Misc/NEWS
Misc/NEWS
+1
-1
No files found.
Doc/tut/tut.tex
View file @
45185a48
...
...
@@ -4365,7 +4365,7 @@ s
Generators are a simple and powerful tool for creating iterators. They are
written like regular functions but use the
\keyword
{
yield
}
statement whenever
they want to return data. Each time
the
\method
{
next
()
}
is called, the
they want to return data. Each time
\method
{
next
()
}
is called, the
generator resumes where it left
-
off
(
it remembers all the data values and
which statement was last executed
)
. An example shows that generators can
be trivially easy to create:
...
...
Misc/NEWS
View file @
45185a48
...
...
@@ -416,7 +416,7 @@ Library
interpreter shutdown with another exception from attempting to handle the
original exception.
- Added
D
ecimal.py per PEP 327.
- Added
d
ecimal.py per PEP 327.
- Bug #981299: rsync is now a recognized protocol in urlparse that uses a
"netloc" portion of a URL.
...
...
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