8000 bpo-28556: Update the opening note in typing docs (GH-16204) · python/cpython@7076764 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7076764

Browse files
bpo-28556: Update the opening note in typing docs 10000 (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 81528ba) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
1 parent 1ecc75a commit 7076764

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/typing.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010

1111
.. note::
1212

13-
The typing module has been included in the standard library on a
14-
:term:`provisional basis <provisional api>`. New features might
15-
be added and API may change even between minor releases if deemed
16-
necessary by the core developers.
13+
The Python runtime does not enforce function and variable type annotations.
14+
They can be used by third party tools such as type checkers, IDEs, linters,
15+
etc.
1716

1817
--------------
1918

0 commit comments

Comments
 (0)
0