summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-23 07:32:27 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-23 07:32:27 (GMT)
commit84b1ff65609c5910b4f838adbe1ead83baae7dbf (patch)
tree1f58a7f19043a7ffae870b52d7bdb321438332df /Doc/using
parentd68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 (diff)
downloadcpython-84b1ff65609c5910b4f838adbe1ead83baae7dbf.zip
cpython-84b1ff65609c5910b4f838adbe1ead83baae7dbf.tar.gz
cpython-84b1ff65609c5910b4f838adbe1ead83baae7dbf.tar.bz2
bpo-38899: virtual environment activation for fish should use `source` (GH-17359)
The previously documented use of `.` is considered deprecated (https://fishshell.com/docs/current/commands.html#source). https://bugs.python.org/issue38899 Automerge-Triggered-By: @brettcannon
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/venv-create.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index cf5af43..6c6617d 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -104,7 +104,7 @@ directory containing the virtual environment):
+=============+=================+=========================================+
| POSIX | bash/zsh | $ source <venv>/bin/activate |
+-------------+-----------------+-----------------------------------------+
-| | fish | $ . <venv>/bin/activate.fish |
+| | fish | $ source <venv>/bin/activate.fish |
+-------------+-----------------+-----------------------------------------+
| | csh/tcsh | $ source <venv>/bin/activate.csh |
+-------------+-----------------+-----------------------------------------+