mirror of
https://github.com/python/cpython.git
synced 2025-08-19 16:20:59 +00:00
Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning:
```
$ python3 -m venv test
$ source test/bin/activate
(test) $ deactivate
-bash: $1: unbound variable
```
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| scripts | ||
| __init__.py | ||
| __main__.py | ||