From b4b5d262c7d3bdbff0e1975bc6f528e3e75f70ba Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Thu, 15 Aug 2019 23:23:26 +1000 Subject: [PATCH] Add the new path parameter to the documentation. --- xontrib/voxapi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xontrib/voxapi.py b/xontrib/voxapi.py index d7d253ab5..920e7bef6 100644 --- a/xontrib/voxapi.py +++ b/xontrib/voxapi.py @@ -4,8 +4,8 @@ API for Vox, the Python virtual environment manager for xonsh. Vox defines several events related to the life cycle of virtual environments: * ``vox_on_create(env: str) -> None`` -* ``vox_on_activate(env: str) -> None`` -* ``vox_on_deactivate(env: str) -> None`` +* ``vox_on_activate(env: str, path: pathlib.Path) -> None`` +* ``vox_on_deactivate(env: str, path: pathlib.Path) -> None`` * ``vox_on_delete(env: str) -> None`` """ import os @@ -37,7 +37,7 @@ Fired after an environment is created. events.doc( "vox_on_activate", """ -vox_on_activate(env: str) -> None +vox_on_activate(env: str, path: pathlib.Path) -> None Fired after an environment is activated. """, @@ -46,7 +46,7 @@ Fired after an environment is activated. events.doc( "vox_on_deactivate", """ -vox_on_deactivate(env: str) -> None +vox_on_deactivate(env: str, path: pathlib.Path) -> None Fired after an environment is deactivated. """,