[Python-checkins] gh-103099: Link mypy docs from typing.rst (GH-103100)

miss-islington webhook-mailer at python.org
Thu Mar 30 04:41:12 EDT 2023


https://github.com/python/cpython/commit/ba755a245b4c90511da0c1c41cfdbd1a9e7bb5bd
commit: ba755a245b4c90511da0c1c41cfdbd1a9e7bb5bd
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-03-30T01:41:04-07:00
summary:

gh-103099: Link mypy docs from typing.rst (GH-103100)

(cherry picked from commit fda95aa19447fe444ac2670afbf98ec42aca0c6f)

Co-authored-by: Shantanu <12621235+hauntsaninja at users.noreply.github.com>

files:
M Doc/library/typing.rst

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 <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.
 



More information about the Python-checkins mailing list