]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-103099: Link mypy docs from typing.rst (GH-103100)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 Mar 2023 08:41:04 +0000 (01:41 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Mar 2023 08:41:04 +0000 (01:41 -0700)
(cherry picked from commit fda95aa19447fe444ac2670afbf98ec42aca0c6f)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/library/typing.rst

index 00f779647e0bcffb29db36e4487aef64f5a3d840..8cf24521ca6c4bf73db015c63f15ad9ca23e1dc0 100644 (file)
@@ -38,6 +38,14 @@ provides backports of these new features to older versions of Python.
 
 .. seealso::
 
+   For a quick overview of type hints, refer to
+   `this cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html>`_.
+
+   The "Type System Reference" section of https://mypy.readthedocs.io/ -- since
+   the Python typing system is standardised via PEPs, this reference should
+   broadly apply to most Python type checkers, although some parts may still be
+   specific to mypy.
+
    The documentation at https://typing.readthedocs.io/ serves as useful reference
    for type system features, useful typing related tools and typing best practices.