Added cross-references to venv definition. · python/cpython@cd9b746 · GitHub
Skip to content

Commit cd9b746

Browse files
committed
Added cross-references to venv definition.
1 parent 6dc9f0e commit cd9b746

3 files changed

Lines changed: 20 additions & 37 deletions

File tree

Doc/library/sys.rst

Lines changed: 14 additions & 11 deletions

Doc/library/venv.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ a Posix platform, you would typically do::
8888

8989
whereas on Windows, you might do::
9090

91-
c:\> <venv>/Scripts/activate
91+
C:\> <venv>/Scripts/activate
9292

9393
if you are using the ``cmd.exe`` shell, or perhaps::
9494

@@ -108,6 +108,8 @@ a "deactivate" function, whereas on Windows there are separate scripts called
108108
``deactivate.bat`` and ``Deactivate.ps1`` which are installed when the venv is
109109
created.
110110

111+
.. _venv-def:
112+
111113
.. note:: A virtual environment (also called a ``venv``) is a Python
112114
environment such that the Python interpreter, libraries and scripts
113115
installed into it are isolated from those installed in other virtual

Doc/using/scripts.rst

Lines changed: 3 additions & 25 deletions

0 commit comments

Comments
 (0)