[issue3028] tokenize module: normal lines, not "logical"
report at bugs.python.org
Tue Jun 3 19:15:38 CEST 2008
Senthil <orsenthil at users.sourceforge.net> added the comment:
> The documentation of the tokenize module says: "The line passed is the
> *logical* line; continuation lines are included."
> I suggest that this will be changed to something like "The line passed
> is the index of the string returned by the readline function, plus 1.
> That is, the first string returned is called line 1, the second is
> called line 2, and so on."
The emphasis of *logical* may help us understand that it is a complete line.
I find the wording of solution bit awkward, tough I am able to get what it is
trying to say.
- Index of string returned by readline function ?? and plus 1. ??
The line passed is the *logical* non-blank line; continuation lines are included.
The row counting starts from one.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list