From bdfcfccbe591e15221f35add01132174c9b4e669 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 1 Jan 1992 19:35:13 +0000 Subject: New == syntax --- Lib/grep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/grep.py') diff --git a/Lib/grep.py b/Lib/grep.py index bfee3f5e8e..21ef8d8017 100644 --- a/Lib/grep.py +++ b/Lib/grep.py @@ -30,7 +30,7 @@ def ggrep(syntax, pat, filename): prefix = string.rjust(`lineno`, 3) + ': ' print prefix + line if 0: # XXX - start, end = prog.regs()[0] + start, end = prog.regs[0] line = line[:start] if '\t' not in line: prefix = ' ' * (len(prefix) + start) -- cgit v1.2.1