summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-08-04 07:21:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-08-04 07:21:11 (GMT)
commitc6f22cc0a6ace52d7d3075f36c9e65f7da194212 (patch)
tree0894cc770f196855a83f6188282c3373ebeb56f0
parentc0de59bfc39436b2bbdf011d90d47c10204a4278 (diff)
downloadcpython-c6f22cc0a6ace52d7d3075f36c9e65f7da194212.zip
cpython-c6f22cc0a6ace52d7d3075f36c9e65f7da194212.tar.gz
cpython-c6f22cc0a6ace52d7d3075f36c9e65f7da194212.tar.bz2
Remove unused leftover stray line
-rw-r--r--Doc/library/re.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 48495a2..edb2486 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -1346,7 +1346,6 @@ successive matches::
('MISMATCH',r'.'), # Any other character
]
tok_regex = '|'.join('(?P<%s>%s)' % pair for pair in token_specification)
- get_token = re.compile(tok_regex).match
line_num = 1
line_start = 0
for mo in re.finditer(tok_regex, code):