summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtokenize.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-23 20:00:53 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-23 20:00:53 (GMT)
commit16214fb01712c5efcc318a84b9e4bb87df322ef4 (patch)
tree5004eca4949f3dcac32ef803a53ff84c3c18ae33 /Doc/lib/libtokenize.tex
parent4aa4f30759ff4c645f071d79ce9616914641afe4 (diff)
downloadcpython-16214fb01712c5efcc318a84b9e4bb87df322ef4.zip
cpython-16214fb01712c5efcc318a84b9e4bb87df322ef4.tar.gz
cpython-16214fb01712c5efcc318a84b9e4bb87df322ef4.tar.bz2
Fix a couple of grammatical errors reported by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
Diffstat (limited to 'Doc/lib/libtokenize.tex')
-rw-r--r--Doc/lib/libtokenize.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libtokenize.tex b/Doc/lib/libtokenize.tex
index 2176173..82d2e68 100644
--- a/Doc/lib/libtokenize.tex
+++ b/Doc/lib/libtokenize.tex
@@ -12,7 +12,7 @@ source code, implemented in Python. The scanner in this module
returns comments as tokens as well, making it useful for implementing
``pretty-printers,'' including colorizers for on-screen displays.
-The scanner is exposed via single function:
+The scanner is exposed by a single function:
\begin{funcdesc}{tokenize}{readline\optional{, tokeneater}}
@@ -21,7 +21,7 @@ The scanner is exposed via single function:
for \function{tokenize()}.
The first parameter, \var{readline}, must be a callable object which
- provides the same interface as \method{readline()} method of
+ provides the same interface as the \method{readline()} method of
built-in file objects (see section~\ref{bltin-file-objects}). Each
call to the function should return one line of input as a string.