diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-26 22:03:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-26 22:03:23 (GMT) |
commit | 4b6421c61e9335253ea7004f2878317b88096c30 (patch) | |
tree | 863c3517405bc563cdd38908cee3688b2e944484 | |
parent | ea0f7aa47c5d2e58dc99314508172f0523e144c6 (diff) | |
download | cpython-4b6421c61e9335253ea7004f2878317b88096c30.zip cpython-4b6421c61e9335253ea7004f2878317b88096c30.tar.gz cpython-4b6421c61e9335253ea7004f2878317b88096c30.tar.bz2 |
bpo-32910: Remove implementation detail in venv documentation. (GH-14968)
(cherry picked from commit 91e49575095ca16d1b67dd8822deeb7885e421da)
Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
-rw-r--r-- | Doc/using/venv-create.inc | 6 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2019-07-25-10-30-32.bpo-32910.caLLAe.rst | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc index 1ada83c..4a79570 100644 --- a/Doc/using/venv-create.inc +++ b/Doc/using/venv-create.inc @@ -115,10 +115,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 0000000..60386a1 --- /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. |