Author: Stephan <[email protected]>
Branch:
Changeset: r296:36e85c168342
Date: 2012-09-04 15:45 +0200
http://bitbucket.org/pypy/lang-js/changeset/36e85c168342/
Log: fix Map.not_found
diff --git a/js/object_map.py b/js/object_map.py
--- a/js/object_map.py
+++ b/js/object_map.py
@@ -18,7 +18,7 @@
@jit.elidable
def contains(self, name):
idx = self.lookup(name)
- return self.not_found(idx)
+ return self.not_found(idx) is False
@jit.elidable
def not_found(self, idx):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit