[Python-checkins] bpo-32910: Remove implementation detail in venv documentation. (GH-14968)

Steve Dower webhook-mailer at python.org
Fri Jul 26 17:57:15 EDT 2019


https://github.com/python/cpython/commit/91e49575095ca16d1b67dd8822deeb7885e421da
commit: 91e49575095ca16d1b67dd8822deeb7885e421da
branch: master
author: Derek Keeler <d3r3kk at users.noreply.github.com>
committer: Steve Dower <steve.dower at python.org>
date: 2019-07-26T14:57:11-07:00
summary:

bpo-32910: Remove implementation detail in venv documentation. (GH-14968)

files:
A Misc/NEWS.d/next/Documentation/2019-07-25-10-30-32.bpo-32910.caLLAe.rst
M Doc/using/venv-create.inc

diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index 46bf0b49657d..cf5af437d6ae 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -123,10 +123,8 @@ installed in a virtual environment should be runnable without activating it,
 and run with the virtual environment's Python automatically.
 
 You can deactivate a virtual environment by typing "deactivate" in your shell.
-The exact mechanism is platform-specific: for example, the Bash activation
-script defines a "deactivate" function, whereas on Windows there are separate
-scripts called ``deactivate.bat`` and ``Deactivate.ps1`` which are installed
-when the virtual environment is created.
+The exact mechanism is platform-specific and is an internal implementation
+detail (typically a script or shell function will be used).
 
 .. versionadded:: 3.4
    ``fish`` and ``csh`` activation scripts.
diff --git a/Misc/NEWS.d/next/Documentation/2019-07-25-10-30-32.bpo-32910.caLLAe.rst b/Misc/NEWS.d/next/Documentation/2019-07-25-10-30-32.bpo-32910.caLLAe.rst
new file mode 100644
index 000000000000..60386a196e7c
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2019-07-25-10-30-32.bpo-32910.caLLAe.rst
@@ -0,0 +1 @@
+Remove implementation-specific behaviour of how venv's Deactivate works.



More information about the Python-checkins mailing list