Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r67635:14397ed1ec03
Date: 2013-10-26 11:06 -0700
http://bitbucket.org/pypy/pypy/changeset/14397ed1ec03/

Log:    more markup

diff --git a/pypy/doc/jit-hooks.rst b/pypy/doc/jit-hooks.rst
--- a/pypy/doc/jit-hooks.rst
+++ b/pypy/doc/jit-hooks.rst
@@ -11,7 +11,7 @@
     but before assembler compilation. This allows adding additional
     optimizations on Python level.
 
-    The callable will be called with the pypyjit.JitLoopInfo object.
+    The callable will be called with the ``pypyjit.JitLoopInfo`` object.
     Refer to it's documentation for details.
 
     Result value will be the resulting list of operations, or None
@@ -21,7 +21,7 @@
 
     Set a compiling hook that will be called each time a loop is compiled.
 
-    The callable will be called with the pypyjit.JitLoopInfo object.
+    The callable will be called with the ``pypyjit.JitLoopInfo`` object.
     Refer to it's documentation for details.
 
     Note that jit hook is not reentrant. It means that if the code
@@ -33,7 +33,8 @@
     Set a hook (callable) that will be called each time there is tracing
     aborted due to some reason.
 
-    The hook will be called as in: hook(jitdriver_name, greenkey, reason)
+    The hook will be invoked with the siagnture:
+    ``hook(jitdriver_name, greenkey, reason)``
 
     Reason is a string, the meaning of other arguments is the same
     as attributes on JitLoopInfo object
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to