Skip to content

Commit 06e8fc9

Browse files
bpo-32910: Remove implementation detail in venv documentation. (GH-14968)
(cherry picked from commit 91e4957) Co-authored-by: Derek Keeler <[email protected]>
1 parent 886e66d commit 06e8fc9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Doc/using/venv-create.inc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,8 @@ installed in a virtual environment should be runnable without activating it,
118118
and run with the virtual environment's Python automatically.
119119
120120
You can deactivate a virtual environment by typing "deactivate" in your shell.
121-
The exact mechanism is platform-specific: for example, the Bash activation
122-
script defines a "deactivate" function, whereas on Windows there are separate
123-
scripts called ``deactivate.bat`` and ``Deactivate.ps1`` which are installed
124-
when the virtual environment is created.
121+
The exact mechanism is platform-specific and is an internal implementation
122+
detail (typically a script or shell function will be used).
125123
126124
.. versionadded:: 3.4
127125
``fish`` and ``csh`` activation scripts.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove implementation-specific behaviour of how venv's Deactivate works.

0 commit comments

Comments
 (0)