]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-28556: Update the opening note in typing docs (GH-16204)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Sep 2019 22:10:11 +0000 (15:10 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Sep 2019 22:10:11 +0000 (15:10 -0700)
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.
(cherry picked from commit 81528ba2e81c39f4d6bca5b785e818c7d08b8501)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Doc/library/typing.rst

index c0b048cb2bd33373927d33d057a13c94a95ed1cf..627c1f77c157d60ac5236548c8a4625fa62fb195 100644 (file)
 
 .. 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.
 
 --------------