Commits

Antonio Cuni committed 1dbc40a

rst fixes

  • Participants
  • Parent commits 2737418

Comments (0)

Files changed (1)

File talk/london-demo-session/stm.rst

 
 * 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...
 Example of higher-level API
 ---------------------------
 
-::
+.. sourcecode:: python
 
     def work(...):
         ...
-        several more calls to: transaction.add(work, ...)
+        several more calls to: 
+            transaction.add(work, ...)
         ...