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.
(cherry picked from commit 81528ba2e8
)
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
This commit is contained in:
parent
c55f69552c
commit
733193d050
|
@ -10,10 +10,9 @@
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
The typing module has been included in the standard library on a
|
The Python runtime does not enforce function and variable type annotations.
|
||||||
:term:`provisional basis <provisional api>`. New features might
|
They can be used by third party tools such as type checkers, IDEs, linters,
|
||||||
be added and API may change even between minor releases if deemed
|
etc.
|
||||||
necessary by the core developers.
|
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue