summaryrefslogtreecommitdiff
path: root/Tools/pybench/CommandLine.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pybench/CommandLine.py')
-rw-r--r--Tools/pybench/CommandLine.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/pybench/CommandLine.py b/Tools/pybench/CommandLine.py
index d0142f82a5..d6ef0befac 100644
--- a/Tools/pybench/CommandLine.py
+++ b/Tools/pybench/CommandLine.py
@@ -537,9 +537,9 @@ class Application:
if not options:
print(' None')
return
- long = filter(lambda x: x.prefix == '--', options)
- short = filter(lambda x: x.prefix == '-', options)
- items = short + long
+ int = [x for x in options if x.prefix == '--']
+ short = [x for x in options if x.prefix == '-']
+ items = short + int
for o in options:
print(' ',o)
print()