diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-04 19:55:11 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-04 19:55:11 (GMT) |
commit | fa833950bf8c99ead3e4c793982716e684000b14 (patch) | |
tree | 57aa804f9814b8f15173cc84ef4015898c53ab2f /Doc/library/tokenize.rst | |
parent | 593d0f46703dd6bf3619ea7113d230a77d20778c (diff) | |
download | cpython-fa833950bf8c99ead3e4c793982716e684000b14.zip cpython-fa833950bf8c99ead3e4c793982716e684000b14.tar.gz cpython-fa833950bf8c99ead3e4c793982716e684000b14.tar.bz2 |
Merged revisions 77300 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77300 | antoine.pitrou | 2010-01-04 19:50:53 +0100 (lun., 04 janv. 2010) | 4 lines
Issue #7631: Fix undefined references to the "built-in file object", which
has ceased to be.
........
Diffstat (limited to 'Doc/library/tokenize.rst')
-rw-r--r-- | Doc/library/tokenize.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/tokenize.rst b/Doc/library/tokenize.rst index d66b07c..7017045 100644 --- a/Doc/library/tokenize.rst +++ b/Doc/library/tokenize.rst @@ -18,9 +18,8 @@ The primary entry point is a :term:`generator`: The :func:`tokenize` generator requires one argument, *readline*, which must be a callable object which provides the same interface as the - :meth:`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 bytes. + :meth:`io.IOBase.readline` method of file objects. Each call to the + function should return one line of input as bytes. The generator produces 5-tuples with these members: the token type; the token string; a 2-tuple ``(srow, scol)`` of ints specifying the row and |