Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit733193d

Browse files
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 commit81528ba)Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
1 parentc55f695 commit733193d

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)

[8]ページ先頭

©2009-2026 Movatter.jp