Skip to content

Commit e5e70c5

Browse files
Update documentation links to Microsoft's documentation pages (GH-126379)
(cherry picked from commit 6e25eb1) Co-authored-by: 谭九鼎 <[email protected]>
1 parent 7db6d42 commit e5e70c5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ By default asyncio is configured to use :class:`EventLoop`.
17911791
.. seealso::
17921792

17931793
`MSDN documentation on I/O Completion Ports
1794-
<https://docs.microsoft.com/en-ca/windows/desktop/FileIO/i-o-completion-ports>`_.
1794+
<https://learn.microsoft.com/windows/win32/fileio/i-o-completion-ports>`_.
17951795

17961796
.. class:: EventLoop
17971797

Doc/library/time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Functions
390390
threads ready to run, the function returns immediately, and the thread
391391
continues execution. On Windows 8.1 and newer the implementation uses
392392
a `high-resolution timer
393-
<https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/high-resolution-timers>`_
393+
<https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
394394
which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used.
395395

396396
Unix implementation:

Doc/using/windows.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ When writing to the Windows Registry, the following behaviors exist:
434434
For more detail on the technical basis for these limitations, please consult
435435
Microsoft's documentation on packaged full-trust apps, currently available at
436436
`docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes
437-
<https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes>`_
437+
<https://learn.microsoft.com/windows/msix/desktop/desktop-to-uwp-behind-the-scenes>`_
438438

439439

440440
.. _windows-nuget:
@@ -535,7 +535,7 @@ dependents, such as Idle), pip and the Python documentation are not included.
535535
.. note::
536536

537537
The embedded distribution does not include the `Microsoft C Runtime
538-
<https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#visual-studio-2015-2017-2019-and-2022>`_ and it is
538+
<https://learn.microsoft.com/cpp/windows/latest-supported-vc-redist#visual-studio-2015-2017-2019-and-2022>`_ and it is
539539
the responsibility of the application installer to provide this. The
540540
runtime may have already been installed on a user's system previously or
541541
automatically via Windows Update, and can be detected by finding
@@ -678,13 +678,13 @@ System variables, you need non-restricted access to your machine
678678

679679
.. seealso::
680680

681-
https://docs.microsoft.com/en-us/windows/win32/procthread/environment-variables
681+
https://learn.microsoft.com/windows/win32/procthread/environment-variables
682682
Overview of environment variables on Windows
683683

684-
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1
684+
https://learn.microsoft.com/windows-server/administration/windows-commands/set_1
685685
The ``set`` command, for temporarily modifying environment variables
686686

687-
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/setx
687+
https://learn.microsoft.com/windows-server/administration/windows-commands/setx
688688
The ``setx`` command, for permanently modifying environment variables
689689

690690

@@ -1290,13 +1290,13 @@ is a collection of modules for advanced Windows-specific support. This includes
12901290
utilities for:
12911291

12921292
* `Component Object Model
1293-
<https://docs.microsoft.com/en-us/windows/win32/com/component-object-model--com--portal>`_
1293+
<https://learn.microsoft.com/windows/win32/com/component-object-model--com--portal>`_
12941294
(COM)
12951295
* Win32 API calls
12961296
* Registry
12971297
* Event log
12981298
* `Microsoft Foundation Classes
1299-
<https://docs.microsoft.com/en-us/cpp/mfc/mfc-desktop-applications>`_
1299+
<https://learn.microsoft.com/cpp/mfc/mfc-desktop-applications>`_
13001300
(MFC) user interfaces
13011301

13021302
`PythonWin <https://web.archive.org/web/20060524042422/

0 commit comments

Comments
 (0)