https://github.com/python/cpython/commit/6e25eb15410f781f632d536d555f38879432522c
commit: 6e25eb15410f781f632d536d555f38879432522c
branch: main
author: 谭九鼎 <109224...@qq.com>
committer: zooba <steve.do...@microsoft.com>
date: 2024-11-11T17:10:49Z
summary:

Update documentation links to Microsoft's documentation pages (GH-126379)

files:
M Doc/library/asyncio-eventloop.rst
M Doc/library/time.rst
M Doc/using/windows.rst

diff --git a/Doc/library/asyncio-eventloop.rst 
b/Doc/library/asyncio-eventloop.rst
index 3ace6eda4d7f29..9f1aec148f8750 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -1797,7 +1797,7 @@ By default asyncio is configured to use 
:class:`EventLoop`.
    .. seealso::
 
       `MSDN documentation on I/O Completion Ports
-      
<https://docs.microsoft.com/en-ca/windows/desktop/FileIO/i-o-completion-ports>`_.
+      
<https://learn.microsoft.com/windows/win32/fileio/i-o-completion-ports>`_.
 
 .. class:: EventLoop
 
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 9cd5db768e9853..6265c2214eaa0d 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -390,7 +390,7 @@ Functions
    threads ready to run, the function returns immediately, and the thread
    continues execution.  On Windows 8.1 and newer the implementation uses
    a `high-resolution timer
-   
<https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/high-resolution-timers>`_
+   
<https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
    which provides resolution of 100 nanoseconds. If *secs* is zero, 
``Sleep(0)`` is used.
 
    Unix implementation:
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index daaf8822af1161..1a6322d72341ff 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -435,7 +435,7 @@ When writing to the Windows Registry, the following 
behaviors exist:
 For more detail on the technical basis for these limitations, please consult
 Microsoft's documentation on packaged full-trust apps, currently available at
 `docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes
-<https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes>`_
+<https://learn.microsoft.com/windows/msix/desktop/desktop-to-uwp-behind-the-scenes>`_
 
 
 .. _windows-nuget:
@@ -536,7 +536,7 @@ dependents, such as Idle), pip and the Python documentation 
are not included.
 .. note::
 
     The embedded distribution does not include the `Microsoft C Runtime
-    
<https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#visual-studio-2015-2017-2019-and-2022>`_
 and it is
+    
<https://learn.microsoft.com/cpp/windows/latest-supported-vc-redist#visual-studio-2015-2017-2019-and-2022>`_
 and it is
     the responsibility of the application installer to provide this. The
     runtime may have already been installed on a user's system previously or
     automatically via Windows Update, and can be detected by finding
@@ -679,13 +679,13 @@ System variables, you need non-restricted access to your 
machine
 
 .. seealso::
 
-    
https://docs.microsoft.com/en-us/windows/win32/procthread/environment-variables
+    https://learn.microsoft.com/windows/win32/procthread/environment-variables
       Overview of environment variables on Windows
 
-    
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1
+    
https://learn.microsoft.com/windows-server/administration/windows-commands/set_1
       The ``set`` command, for temporarily modifying environment variables
 
-    
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/setx
+    
https://learn.microsoft.com/windows-server/administration/windows-commands/setx
       The ``setx`` command, for permanently modifying environment variables
 
 
@@ -1291,13 +1291,13 @@ is a collection of modules for advanced 
Windows-specific support.  This includes
 utilities for:
 
 * `Component Object Model
-  
<https://docs.microsoft.com/en-us/windows/win32/com/component-object-model--com--portal>`_
+  
<https://learn.microsoft.com/windows/win32/com/component-object-model--com--portal>`_
   (COM)
 * Win32 API calls
 * Registry
 * Event log
 * `Microsoft Foundation Classes
-  <https://docs.microsoft.com/en-us/cpp/mfc/mfc-desktop-applications>`_
+  <https://learn.microsoft.com/cpp/mfc/mfc-desktop-applications>`_
   (MFC) user interfaces
 
 `PythonWin <https://web.archive.org/web/20060524042422/

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to