]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a couple of grammatical errors reported by Detlef Lannert
authorFred Drake <fdrake@acm.org>
Fri, 23 Apr 1999 20:00:53 +0000 (20:00 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 23 Apr 1999 20:00:53 +0000 (20:00 +0000)
<lannert@lannert.rz.uni-duesseldorf.de>.

Doc/lib/libtokenize.tex

index 2176173eb061878cc8d4bf64b003310ad40df901..82d2e680141984e87bd3b65fbbdef96d35d246fe 100644 (file)
@@ -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.