summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
authorIvan Levkivskyi <levkivskyi@gmail.com>2019-09-16 22:04:06 (GMT)
committerGitHub <noreply@github.com>2019-09-16 22:04:06 (GMT)
commit81528ba2e81c39f4d6bca5b785e818c7d08b8501 (patch)
treed1a2616f50fbdb5ac2da162f85f076734aabfb0a /Doc/library/typing.rst
parent724f1a57231f9287c37255adf0e4364d12cf693d (diff)
downloadcpython-81528ba2e81c39f4d6bca5b785e818c7d08b8501.zip
cpython-81528ba2e81c39f4d6bca5b785e818c7d08b8501.tar.gz
cpython-81528ba2e81c39f4d6bca5b785e818c7d08b8501.tar.bz2
bpo-28556: Update the opening note in typing docs (GH-16204)
This PR replaces the old note mentioning that `typing` is a provisional module with a new one mentioning types are not enforced at runtime. I am not sure if there was any official announcement about making `typing` non-provisional, but _de-facto_ no new features were added during Python 3.7, and no backwards incompatible changes were made except for few small things that were considered bugs.
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r--Doc/library/typing.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 12efde1..f4d1b24 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -10,10 +10,9 @@
.. note::
- The typing module has been included in the standard library on a
- :term:`provisional basis <provisional api>`. New features might
- be added and API may change even between minor releases if deemed
- necessary by the core developers.
+ The Python runtime does not enforce function and variable type annotations.
+ They can be used by third party tools such as type checkers, IDEs, linters,
+ etc.
--------------