From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 13 Oct 2024 07:55:37 +0000 (+0200) Subject: [3.12] Trivial change: Update comments in activate about what running hash -r does... X-Git-Tag: v3.12.8~216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77020dae341764ee440c99cf8ba13c7766730b46;p=thirdparty%2FPython%2Fcpython.git [3.12] Trivial change: Update comments in activate about what running hash -r does (GH-125385) (#125388) (cherry picked from commit 82bcaf15890cf85b76b4f62d2dd1710bb49c3ed1) --- diff --git a/Lib/venv/scripts/common/activate b/Lib/venv/scripts/common/activate index d5914e0cbb40..44df44a7404b 100644 --- a/Lib/venv/scripts/common/activate +++ b/Lib/venv/scripts/common/activate @@ -14,8 +14,9 @@ deactivate () { unset _OLD_VIRTUAL_PYTHONHOME fi - # Call hash to forget past commands. Without forgetting - # past commands the $PATH changes we made may not be respected + # Call hash to forget past locations. Without forgetting + # past locations the $PATH changes we made may not be respected. + # See "man bash" for more details. hash is usually a builtin of your shell hash -r 2> /dev/null if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then