summaryrefslogtreecommitdiffstats
path: root/Doc/tut
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-07-10 16:11:03 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-07-10 16:11:03 (GMT)
commit21f9fce968624fd25c95dc408cfd51614021ea17 (patch)
treeb23c439690d2c2795b143f0bc8cd50b7892d4257 /Doc/tut
parent099bd524a4959f8cb7f4de2a24b73b7ae4505c8d (diff)
downloadcpython-21f9fce968624fd25c95dc408cfd51614021ea17.zip
cpython-21f9fce968624fd25c95dc408cfd51614021ea17.tar.gz
cpython-21f9fce968624fd25c95dc408cfd51614021ea17.tar.bz2
Fix typo.
Diffstat (limited to 'Doc/tut')
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 7472082..b57aebe 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -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: