Author: Ronan Lamy <[email protected]>
Branch: rtyper-stuff
Changeset: r73764:c95ae034e136
Date: 2014-08-14 18:16 +0100
http://bitbucket.org/pypy/pypy/changeset/c95ae034e136/

Log:    code cleanup

diff --git a/rpython/rtyper/rmodel.py b/rpython/rtyper/rmodel.py
--- a/rpython/rtyper/rmodel.py
+++ b/rpython/rtyper/rmodel.py
@@ -407,7 +407,8 @@
     def __ne__(self, other):
         return not (self == other)
 
-    def build_ll_dummy_value(self):
+    @property
+    def ll_dummy_value(self):
         TYPE = self.TYPE
         try:
             return self.rtyper.cache_dummy_values[TYPE]
@@ -420,8 +421,6 @@
             self.rtyper.cache_dummy_values[TYPE] = p
             return p
 
-    ll_dummy_value = property(build_ll_dummy_value)
-
 
 # logging/warning
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to