]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update documentation links to Microsoft's documentation pages (GH-126379)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Nov 2024 17:20:33 +0000 (18:20 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Nov 2024 17:20:33 +0000 (17:20 +0000)
(cherry picked from commit 6e25eb15410f781f632d536d555f38879432522c)

Co-authored-by: 谭九鼎 <109224573@qq.com>
Doc/library/asyncio-eventloop.rst
Doc/library/time.rst
Doc/using/windows.rst

index bdcea54f6a0450346b0efb7954adc014ebcaf235..53aaae413027d40bb34448e343060fa2b1c3f302 100644 (file)
@@ -1750,7 +1750,7 @@ on Unix and :class:`ProactorEventLoop` on Windows.
    .. 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:: AbstractEventLoop
index 5d6365f23fdc2b79910f734a7ddab945598ccdc3..db53296e2a56982decc2278f9ba3c7b493804e3b 100644 (file)
@@ -372,7 +372,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:
index 87fccfbc7e591ed3e60b44ec89d0638743453d90..2a5076750446667e1931674ee98ee31b3c8b4de6 100644 (file)
@@ -394,7 +394,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:
@@ -475,7 +475,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
@@ -618,13 +618,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
 
 
@@ -1222,13 +1222,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/