summaryrefslogtreecommitdiff
path: root/lib/spack/spack/build_systems/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/build_systems/python.py')
-rw-r--r--lib/spack/spack/build_systems/python.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py
index 7a8650bfce..3fae6671f0 100644
--- a/lib/spack/spack/build_systems/python.py
+++ b/lib/spack/spack/build_systems/python.py
@@ -137,9 +137,11 @@ class PythonPackage(PackageBase):
def _setup_command_available(self, command):
"""Determines whether or not a setup.py command exists.
- :param str command: The command to look for
- :return: True if the command is found, else False
- :rtype: bool
+ Args:
+ command (str): The command to look for
+
+ Returns:
+ bool: True if the command is found, else False
"""
kwargs = {
'output': os.devnull,