Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
==
!=
1 parent 4b27972 commit 93107aaCopy full SHA for 93107aa
1 file changed
Doc/library/venv.rst
@@ -55,7 +55,7 @@ point to the directories of the virtual environment,
55
whereas :data:`sys.base_prefix` and :data:`sys.base_exec_prefix`
56
point to those of the base Python used to create the environment.
57
It is sufficient to check
58
-``sys.prefix == sys.base_prefix`` to determine if the current interpreter is
+``sys.prefix != sys.base_prefix`` to determine if the current interpreter is
59
running from a virtual environment.
60
61
A virtual environment may be "activated" using a script in its binary directory
0 commit comments