summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2020-11-30 08:28:07 -0800
committerTamara Dahlgren <dahlgren1@llnl.gov>2021-02-17 17:07:17 -0800
commit96283867d616f05db701b9256cb631eb0b4cc1c8 (patch)
treedc7aa7b9cd1c977ee4e56a06881868b6baf57cbf
parentd7ffdd76f6703bc0f85b8c5239f11ac1f389e4e9 (diff)
downloadspack-96283867d616f05db701b9256cb631eb0b4cc1c8.tar.gz
spack-96283867d616f05db701b9256cb631eb0b4cc1c8.tar.bz2
spack-96283867d616f05db701b9256cb631eb0b4cc1c8.tar.xz
spack-96283867d616f05db701b9256cb631eb0b4cc1c8.zip
Typos: add missing closing parens (#20174)
-rw-r--r--lib/spack/docs/build_systems/pythonpackage.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/docs/build_systems/pythonpackage.rst b/lib/spack/docs/build_systems/pythonpackage.rst
index c2da0281f0..ef06725e01 100644
--- a/lib/spack/docs/build_systems/pythonpackage.rst
+++ b/lib/spack/docs/build_systems/pythonpackage.rst
@@ -324,21 +324,21 @@ mentions that Python 3 is required, this can be specified as:
.. code-block:: python
- depends_on('python@3:', type=('build', 'run')
+ depends_on('python@3:', type=('build', 'run'))
If Python 2 is required, this would look like:
.. code-block:: python
- depends_on('python@:2', type=('build', 'run')
+ depends_on('python@:2', type=('build', 'run'))
If Python 2.7 is the only version that works, you can use:
.. code-block:: python
- depends_on('python@2.7:2.8', type=('build', 'run')
+ depends_on('python@2.7:2.8', type=('build', 'run'))
The documentation may not always specify supported Python versions.