[Python-checkins] bpo-45442: Add deactivate step to venv tutorial. (GH-28981)

miss-islington webhook-mailer at python.org
Fri Oct 15 17:24:30 EDT 2021


https://github.com/python/cpython/commit/11b2ae7f5bc0e7ebbfe944bb746a0b3dfcd7ff43
commit: 11b2ae7f5bc0e7ebbfe944bb746a0b3dfcd7ff43
branch: main
author: srinivasan <shivnaren at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-10-15T14:24:25-07:00
summary:

bpo-45442: Add deactivate step to venv tutorial. (GH-28981)



@vsajip Sorry for the trouble—made a [fairly significant] git error in the previous PR.

Have edited the patch as you had said in #28959.

Automerge-Triggered-By: GH:vsajip

files:
M Doc/tutorial/venv.rst

diff --git a/Doc/tutorial/venv.rst b/Doc/tutorial/venv.rst
index 221c11ca74b4e..58ad31972f603 100644
--- a/Doc/tutorial/venv.rst
+++ b/Doc/tutorial/venv.rst
@@ -88,6 +88,11 @@ For example:
   '~/envs/tutorial-env/lib/python3.5/site-packages']
   >>>
 
+To deactivate a virtual environment, type::
+
+    deactivate
+
+into the terminal.
 
 Managing Packages with pip
 ==========================



More information about the Python-checkins mailing list