summaryrefslogtreecommitdiff
path: root/tox/hookspecs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/hookspecs.py')
-rw-r--r--tox/hookspecs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox/hookspecs.py b/tox/hookspecs.py
index c9ea948..103bda5 100644
--- a/tox/hookspecs.py
+++ b/tox/hookspecs.py
@@ -22,7 +22,11 @@ def tox_configure(config):
@hookspec(firstresult=True)
-def tox_get_python_executable(name):
+def tox_get_python_executable(envconfig):
""" return a python executable for the given python base name.
The first plugin/hook which returns an executable path will determine it.
+
+ ``envconfig`` is the testenv configuration which contains
+ per-testenv configuration, notably the ``.envname`` and ``.basepython``
+ setting.
"""