Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DOC: formatting

  • Loading branch information...
commit b601c11e4327619d09a9f8f0bd46ad2556d95a4c 1 parent d94711e
@GaelVaroquaux GaelVaroquaux authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 doc/parallel.rst
View
12 doc/parallel.rst
@@ -1,4 +1,5 @@
+=====================================================
Embarrassingly parallel for loops
=====================================================
@@ -27,7 +28,9 @@ function-call syntax.
Under Windows, it is important to protect the main loop of code to
avoid recursive spawning of subprocesses when using joblib.Parallel.
- In other words, you should be writing code like this::
+ In other words, you should be writing code like this:
+
+ .. code-block:: python
import ....
@@ -42,11 +45,12 @@ function-call syntax.
# do stuff with imports and functions defined about
...
- **No** code should *run* outside of the "if __name__ == '__main__'"
- blocks, only imports and definitions.
+ **No** code should *run* outside of the "if __name__ == '__main__'"
+ blocks, only imports and definitions.
-_____
+`Parallel` reference documentation
+===================================
.. autoclass:: joblib.Parallel
:members: auto
Please sign in to comment.
Something went wrong with that request. Please try again.