Author: Carl Friedrich Bolz <[email protected]>
Branch: guard-compatible
Changeset: r83378:d5f8ea5bac55
Date: 2016-03-25 22:14 +0100
http://bitbucket.org/pypy/pypy/changeset/d5f8ea5bac55/
Log: oops, move the _annspecialcase_ to the new function
diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -334,7 +334,7 @@
def _lookup(self, w_obj, name):
w_type = self.type(w_obj)
return w_type.lookup(name)
- lookup._annspecialcase_ = 'specialize:lookup'
+ _lookup._annspecialcase_ = 'specialize:lookup'
def lookup_in_type_where(self, w_type, name):
return w_type.lookup_where(name)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit