]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update links from typing.readthedocs.io to typing.python.org (#130877)
authorSebastian Rittau <srittau@rittau.biz>
Wed, 5 Mar 2025 15:26:44 +0000 (16:26 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Mar 2025 15:26:44 +0000 (17:26 +0200)
Doc/library/typing.rst

index 6ea4272eecfc7fec71028339563a1a5fd8a522e9..d4ab6eaea12d238f56fa02fcdc0b7797508e9367 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:
 
@@ -2912,7 +2912,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