Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r67634:2e91ff33d818
Date: 2013-10-26 11:04 -0700
http://bitbucket.org/pypy/pypy/changeset/2e91ff33d818/

Log:    Use the right markup for these

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
@@ -1,11 +1,11 @@
 JIT hooks in PyPy
 =================
 
-There are several hooks in the `pypyjit` module that may help you with
+There are several hooks in the ``pypyjit`` module that may help you with
 understanding what's pypy's JIT doing while running your program. There
-are three functions related to that coming from the `pypyjit` module:
+are three functions related to that coming from the ``pypyjit`` module:
 
-* `set_optimize_hook(callable)`::
+.. function:: set_optimize_hook(callable)
 
     Set a compiling hook that will be called each time a loop is optimized,
     but before assembler compilation. This allows adding additional
@@ -17,7 +17,7 @@
     Result value will be the resulting list of operations, or None
 
 
-* `set_compile_hook(callable)`::
+.. function:: set_compile_hook(callable)
 
     Set a compiling hook that will be called each time a loop is compiled.
 
@@ -28,7 +28,7 @@
     inside the jit hook is itself jitted, it will get compiled, but the
     jit hook won't be called for that.
 
-* `set_abort_hook(hook)`::
+.. function:: set_abort_hook(hook)
 
     Set a hook (callable) that will be called each time there is tracing
     aborted due to some reason.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to