Fix code block in docs.

This commit is contained in:
Todd Gamblin
2016-03-07 02:39:14 -08:00
parent 108277fb5d
commit 12ddf241a5

View File

@@ -138,7 +138,7 @@ class when(object):
methods like install() that depend on the package's spec.
For example:
.. code-block::
.. code-block:: python
class SomePackage(Package):
...
@@ -163,6 +163,8 @@ def install(self, prefix):
if you only have part of the install that is platform specific, you
could do this:
.. code-block:: python
class SomePackage(Package):
...
# virtual dependence on MPI.