mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Implemented PEP 405 (Python virtual environments).
This commit is contained in:
parent
f2bdc3690a
commit
7ded1f0f69
41 changed files with 1454 additions and 66 deletions
|
@ -369,7 +369,7 @@ class Doc:
|
|||
|
||||
docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS)
|
||||
|
||||
basedir = os.path.join(sys.exec_prefix, "lib",
|
||||
basedir = os.path.join(sys.base_exec_prefix, "lib",
|
||||
"python%d.%d" % sys.version_info[:2])
|
||||
if (isinstance(object, type(os)) and
|
||||
(object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue