From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 30 Mar 2023 08:41:04 +0000 (-0700) Subject: gh-103099: Link mypy docs from typing.rst (GH-103100) X-Git-Tag: v3.10.11~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba755a245b4c90511da0c1c41cfdbd1a9e7bb5bd;p=thirdparty%2FPython%2Fcpython.git 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> --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 00f779647e0b..8cf24521ca6c 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.