]> granicus.if.org Git - python/commitdiff
bpo-32910: Remove implementation detail in venv documentation. (GH-14968)
authorDerek Keeler <d3r3kk@users.noreply.github.com>
Fri, 26 Jul 2019 21:57:11 +0000 (14:57 -0700)
committerSteve Dower <steve.dower@python.org>
Fri, 26 Jul 2019 21:57:11 +0000 (14:57 -0700)
Doc/using/venv-create.inc
Misc/NEWS.d/next/Documentation/2019-07-25-10-30-32.bpo-32910.caLLAe.rst [new file with mode: 0644]

index 46bf0b49657d625dfa36cd8bdb96e1ab33c6e923..cf5af437d6aee4267725771bdb235840f69d332c 100644 (file)
@@ -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 (file)
index 0000000..60386a1
--- /dev/null
@@ -0,0 +1 @@
+Remove implementation-specific behaviour of how venv's Deactivate works.