]> granicus.if.org Git - python/commitdiff
Remove unused leftover stray line
authorRaymond Hettinger <python@rcn.com>
Mon, 4 Aug 2014 07:21:11 +0000 (00:21 -0700)
committerRaymond Hettinger <python@rcn.com>
Mon, 4 Aug 2014 07:21:11 +0000 (00:21 -0700)
Doc/library/re.rst

index 48495a25c5494255f86ce4721ea50534cec301c4..edb24864f293d773f1c4942783cb7503d38ff7dd 100644 (file)
@@ -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):