From c6f22cc0a6ace52d7d3075f36c9e65f7da194212 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 4 Aug 2014 00:21:11 -0700 Subject: [PATCH] Remove unused leftover stray line --- Doc/library/re.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 48495a25c54..edb24864f29 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):