Skip to content

Commit 8ac33d4

Browse files
committed
PR suggestions
1 parent 74842aa commit 8ac33d4

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Doc/using/venv-create.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ The command, if run with ``-h``, will show the available options::
8686
.. note::
8787
On Microsoft Windows, it may be required to enable the ``Activate.ps1``
8888
script by setting the execution policy for the user. You can do this by
89-
issuing the following Powershell command from a Powershell command window:
89+
issuing the following PowerShell command:
9090
9191
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
9292
9393
See `About Execution Policies
94-
<https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7>`_
94+
<ttps:/go.microsoft.com/fwlink/?LinkID=135170>`_
9595
for more information.
9696
9797
The created ``pyvenv.cfg`` file also includes the

Lib/venv/scripts/common/Activate.ps1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#
22
.Synopsis
3-
Activate a Python virtual environment for the current Powershell session.
3+
Activate a Python virtual environment for the current PowerShell session.
44
55
.Description
66
Pushes the python executable for a virtual environment to the front of the
@@ -39,14 +39,13 @@ parentheses) while the virtual environment is active.
3939
4040
.Notes
4141
On Windows, it may be required to enable this Activate.ps1 script by setting the
42-
execution policy for the user. You can do this by issuing the following Powershell
43-
command from a Powershell command window:
42+
execution policy for the user. You can do this by issuing the following PowerShell
43+
command:
4444
4545
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
4646
47-
Please see About Execution Policies:
48-
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7
49-
for more information.
47+
For more information on Execution Policies:
48+
ttps:/go.microsoft.com/fwlink/?LinkID=135170
5049
5150
#>
5251
Param(

0 commit comments

Comments
 (0)