Author: Alex Gaynor <[email protected]>
Branch: unroll-if-alt
Changeset: r47372:66dfd0624949
Date: 2011-09-20 15:00 -0400
http://bitbucket.org/pypy/pypy/changeset/66dfd0624949/

Log:    add a docstring suggested by cfbolz.

diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -164,6 +164,8 @@
     While tracing, returns whether or not the value is currently known to be
     constant. This is not perfect, values can become constant later. Mostly for
     use with @look_inside_iff.
+
+    This is for advanced usage only.
     """
     # I hate the annotator so much.
     if NonConstant(False):
@@ -176,6 +178,8 @@
     """
     Returns if this value is virtual, while tracing, it's relatively
     conservative and will miss some cases.
+
+    This is for advanced usage only.
     """
     if NonConstant(False):
         return True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to