Sam Kimbrel added the comment:
Attached patch to update 2.7 docs to refer to the plain-old-tuple returned from
generate_tokens().
--
keywords: +patch
nosy: +sam.kimbrel
Added file: http://bugs.python.org/file34841/20956-tokenize-docs.diff
___
Python
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: docs@python - terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20956
___
___
Roundup Robot added the comment:
New changeset d4f5a88b94b4 by Terry Jan Reedy in branch '2.7':
Closes #20956: 2.7 tokenize does not produce named tuples. Patch by Sam Kimbrel.
http://hg.python.org/cpython/rev/d4f5a88b94b4
--
nosy: +python-dev
resolution: - fixed
stage: -
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20956
___
___
Python-bugs-list
Curtis Maloney added the comment:
Corrected title.
And, yeah, figured it wouldn't be added as a new feature, hence reporting this
as a Documentation bug.
--
title: tokenize module claims generate_tokens returns namedtuple, but it
doesn't - tokenize module claims tokenize.tokenize