summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorAndrew Carr <andrewnc@users.noreply.github.com>2019-05-30 19:31:51 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-30 19:31:51 (GMT)
commit1e36f75d634383eb243aa1798c0f2405c9ceb5d4 (patch)
tree5f233c2e74dcfbc0ed4e15ace8c8e15c788ed64b /Lib/lib2to3
parent1b69c09248c4b51962933e3551f1ae6fc11369b6 (diff)
downloadcpython-1e36f75d634383eb243aa1798c0f2405c9ceb5d4.zip
cpython-1e36f75d634383eb243aa1798c0f2405c9ceb5d4.tar.gz
cpython-1e36f75d634383eb243aa1798c0f2405c9ceb5d4.tar.bz2
bpo-5028: fix doc bug for tokenize (GH-11683)
https://bugs.python.org/issue5028
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/pgen2/tokenize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/pgen2/tokenize.py b/Lib/lib2to3/pgen2/tokenize.py
index 279d322..0f9fde3 100644
--- a/Lib/lib2to3/pgen2/tokenize.py
+++ b/Lib/lib2to3/pgen2/tokenize.py
@@ -346,7 +346,7 @@ def generate_tokens(readline):
column where the token begins in the source; a 2-tuple (erow, ecol) of
ints specifying the row and column where the token ends in the source;
and the line on which the token was found. The line passed is the
- logical line; continuation lines are included.
+ physical line; continuation lines are included.
"""
lnum = parenlev = continued = 0
contstr, needcont = '', 0