diff options
| author | Guido van Rossum <guido@python.org> | 1992-01-01 19:35:13 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1992-01-01 19:35:13 +0000 |
| commit | bdfcfccbe591e15221f35add01132174c9b4e669 (patch) | |
| tree | 7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Lib/grep.py | |
| parent | 4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff) | |
| download | cpython-git-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz | |
New == syntax
Diffstat (limited to 'Lib/grep.py')
| -rw-r--r-- | Lib/grep.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
