Author: Gregor Wegberg <[email protected]>
Branch: gc-incminimark-pinning
Changeset: r72789:9a727746d96f
Date: 2014-08-13 15:21 +0200
http://bitbucket.org/pypy/pypy/changeset/9a727746d96f/

Log:    renamed parameters for consistency

diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py
--- a/rpython/rlib/rgc.py
+++ b/rpython/rlib/rgc.py
@@ -53,7 +53,7 @@
 class PinEntry(ExtRegistryEntry):
     _about_ = pin
 
-    def compute_result_annotation(self, s_p):
+    def compute_result_annotation(self, s_obj):
         from rpython.annotator import model as annmodel
         return annmodel.SomeBool()
 
@@ -71,7 +71,7 @@
 class UnpinEntry(ExtRegistryEntry):
     _about_ = unpin
 
-    def compute_result_annotation(self, s_p):
+    def compute_result_annotation(self, s_obj):
         pass
 
     def specialize_call(self, hop):
@@ -85,7 +85,7 @@
 class IsPinnedEntry(ExtRegistryEntry):
     _about_ = _is_pinned
 
-    def compute_result_annotation(self, s_p):
+    def compute_result_annotation(self, s_obj):
         from rpython.annotator import model as annmodel
         return annmodel.SomeBool()
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to