commit | 5b787e8bc2dbda5583eee039cb6a6e47c8d8a034 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Jan 13 23:54:39 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Jan 13 23:54:39 2007 +0000 |
tree | bbb5ad7df427ee6ab5032c68dabdac2fcd6d38ee | |
parent | 16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9 [diff] [blame] |
Fix pybench so it works -- Larry Hastings.
diff --git a/Tools/pybench/Dict.py b/Tools/pybench/Dict.py index 9cdd682..cb039b0 100644 --- a/Tools/pybench/Dict.py +++ b/Tools/pybench/Dict.py
@@ -351,7 +351,7 @@ def test(self): d = {} - has_key = d.has_key + has_key = lambda key: key in d for i in xrange(self.rounds): @@ -498,7 +498,7 @@ def calibrate(self): d = {} - has_key = d.has_key + has_key = lambda key: key in d for i in xrange(self.rounds): pass