From c4bcff887dd49f86615df8a2d7bc917a420cf585 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Thu, 30 Mar 2023 01:32:09 -0700 Subject: [PATCH] gh-103099: Link mypy docs from typing.rst (GH-103100) (cherry picked from commit fda95aa19447fe444ac2670afbf98ec42aca0c6f) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- Doc/library/typing.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 00f779647e0bcf..8cf24521ca6c4b 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 `_. + + 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.