]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Update links from typing.readthedocs.io to typing.python.org (GH-130877) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Mar 2025 15:34:17 +0000 (16:34 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Mar 2025 15:34:17 +0000 (15:34 +0000)
Update links from typing.readthedocs.io to typing.python.org (GH-130877)
(cherry picked from commit 4f6218959e35f649061484cce9de7fc810586533)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Doc/library/typing.rst

index bd6a793b88234b2e50c8133d17c49af3af0a54d0..e641111eade327749650b2ec94b6058cc1151260 100644 (file)
@@ -53,7 +53,7 @@ provides backports of these new features to older versions of Python.
       should broadly apply to most Python type checkers. (Some parts may still
       be specific to mypy.)
 
-   `"Static Typing with Python" <https://typing.readthedocs.io/en/latest/>`_
+   `"Static Typing with Python" <https://typing.python.org/en/latest/>`_
       Type-checker-agnostic documentation written by the community detailing
       type system features, useful typing related tools and typing best
       practices.
@@ -64,7 +64,7 @@ Specification for the Python Type System
 ========================================
 
 The canonical, up-to-date specification of the Python type system can be
-found at `"Specification for the Python type system" <https://typing.readthedocs.io/en/latest/spec/index.html>`_.
+found at `"Specification for the Python type system" <https://typing.python.org/en/latest/spec/index.html>`_.
 
 .. _type-aliases:
 
@@ -2814,7 +2814,7 @@ Functions and decorators
 
    .. seealso::
       `Unreachable Code and Exhaustiveness Checking
-      <https://typing.readthedocs.io/en/latest/guides/unreachable.html>`__ has more
+      <https://typing.python.org/en/latest/guides/unreachable.html>`__ has more
       information about exhaustiveness checking with static typing.
 
    .. versionadded:: 3.11