]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] 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:35:46 +0000 (16:35 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Mar 2025 15:35:46 +0000 (15:35 +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 f176e750b0a293179aa2c186e82968cde9cf3bce..facfeb4f8d3455e2a73a7d54a5ee55e39b9c4c51 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:
 
@@ -2605,7 +2605,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