[pypy-commit] pypy default: A useful docstring.

alex_gaynor noreply at buildbot.pypy.org
Tue May 21 21:03:49 CEST 2013


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r64398:bb653e057f20
Date: 2013-05-21 12:01 -0700
http://bitbucket.org/pypy/pypy/changeset/bb653e057f20/

Log:	A useful docstring.

diff --git a/rpython/jit/metainterp/virtualizable.py b/rpython/jit/metainterp/virtualizable.py
--- a/rpython/jit/metainterp/virtualizable.py
+++ b/rpython/jit/metainterp/virtualizable.py
@@ -231,6 +231,10 @@
         self.tracing_before_residual_call = tracing_before_residual_call
 
         def tracing_after_residual_call(virtualizable):
+            """
+            Returns whether or not the virtualizable was forced during a
+            CALL_MAY_FORCE.
+            """
             virtualizable = cast_gcref_to_vtype(virtualizable)
             if virtualizable.vable_token:
                 # not modified by the residual call; assert that it is still


More information about the pypy-commit mailing list