summaryrefslogtreecommitdiffstats
path: root/Lib/grep.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/grep.py')
-rw-r--r--Lib/grep.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/grep.py b/Lib/grep.py
index 019d916..f466651 100644
--- a/Lib/grep.py
+++ b/Lib/grep.py
@@ -8,13 +8,13 @@ opt_show_where = 0
opt_show_filename = 0
opt_show_lineno = 1
-def grep(pat, +files):
+def grep(pat, *files):
return ggrep(RE_SYNTAX_GREP, pat, files)
-def egrep(pat, +files):
+def egrep(pat, *files):
return ggrep(RE_SYNTAX_EGREP, pat, files)
-def emgrep(pat, +files):
+def emgrep(pat, *files):
return ggrep(RE_SYNTAX_EMACS, pat, files)
def ggrep(syntax, pat, files):