https://github.com/python/cpython/commit/801ef7de08d816b1976865496e834c5af941a8ad
commit: 801ef7de08d816b1976865496e834c5af941a8ad
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: vsajip <[email protected]>
date: 2024-10-13T08:56:09+01:00
summary:

[3.13] Trivial change: Update comments in activate about what running hash -r 
does (GH-125385) (GH-125387)

(cherry picked from commit 82bcaf15890cf85b76b4f62d2dd1710bb49c3ed1)

files:
M Lib/venv/scripts/common/activate

diff --git a/Lib/venv/scripts/common/activate b/Lib/venv/scripts/common/activate
index cbd4873f012246..4593799b7e9b0e 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to