[pypy-commit] extradoc extradoc: rst fixes
antocuni
noreply at buildbot.pypy.org
Tue Aug 27 16:53:47 CEST 2013
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: extradoc
Changeset: r5034:1dbc40a977dc
Date: 2013-08-27 16:53 +0200
http://bitbucket.org/pypy/extradoc/changeset/1dbc40a977dc/
Log: rst fixes
diff --git a/talk/london-demo-session/stm.rst b/talk/london-demo-session/stm.rst
--- a/talk/london-demo-session/stm.rst
+++ b/talk/london-demo-session/stm.rst
@@ -30,7 +30,9 @@
* Optimistically run multiple threads in parallel
-* The only new feature is ``atomic``::
+* The only new feature is ``atomic``:
+
+.. sourcecode:: python
with atomic:
piece of code...
@@ -39,11 +41,12 @@
Example of higher-level API
---------------------------
-::
+.. sourcecode:: python
def work(...):
...
- several more calls to: transaction.add(work, ...)
+ several more calls to:
+ transaction.add(work, ...)
...
More information about the pypy-commit
mailing list