[Python-checkins] gh-103099: Link mypy docs from typing.rst (#103100)
hauntsaninja
webhook-mailer at python.org
Thu Mar 30 04:32:46 EDT 2023
https://github.com/python/cpython/commit/fda95aa19447fe444ac2670afbf98ec42aca0c6f
commit: fda95aa19447fe444ac2670afbf98ec42aca0c6f
branch: main
author: Shantanu <12621235+hauntsaninja at users.noreply.github.com>
committer: hauntsaninja <12621235+hauntsaninja at users.noreply.github.com>
date: 2023-03-30T01:32:09-07:00
summary:
gh-103099: Link mypy docs from typing.rst (#103100)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 08ffa0310f0f..384458d3aa66 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -41,10 +41,17 @@ For a summary of deprecated features and a deprecation timeline, please see
.. 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.
-
.. _relevant-peps:
Relevant PEPs
More information about the Python-checkins
mailing list