Skip to content

Commit

Permalink
[3.13] Trivial change: Update comments in activate about what running…
Browse files Browse the repository at this point in the history
… hash -r does (GH-125385) (GH-125387)

(cherry picked from commit 82bcaf1)
  • Loading branch information
miss-islington authored Oct 13, 2024
1 parent e47dd93 commit 801ef7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Lib/venv/scripts/common/activate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 801ef7d

Please sign in to comment.