Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 88f5746

Browse files
committed
Issue python#29316: merge 3.6
2 parents 299dc23 + 67c1cb2 commit 88f5746

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Doc/library/typing.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99
**Source code:** :source:`Lib/typing.py`
1010

11+
.. note::
12+
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.
17+
1118
--------------
1219

1320
This module supports type hints as specified by :pep:`484` and :pep:`526`.

Doc/whatsnew/3.6.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Significant improvements in the standard library:
120120
:ref:`Local Time Disambiguation <whatsnew36-pep495>`.
121121

122122
* The :mod:`typing` module received a number of
123-
:ref:`improvements <whatsnew36-typing>` and is no longer provisional.
123+
:ref:`improvements <whatsnew36-typing>`.
124124

125125
* The :mod:`tracemalloc` module has been significantly reworked
126126
and is now used to provide better output for :exc:`ResourceWarning`
@@ -1544,11 +1544,8 @@ to filter block traces by their address space (domain).
15441544
typing
15451545
------
15461546

1547-
Starting with Python 3.6 the :mod:`typing` module is no longer provisional
1548-
and its API is considered stable.
1549-
1550-
Since the :mod:`typing` module was :term:`provisional <provisional api>`
1551-
in Python 3.5, all changes introduced in Python 3.6 have also been
1547+
Since the :mod:`typing` module is :term:`provisional <provisional api>`,
1548+
all changes introduced in Python 3.6 have also been
15521549
backported to Python 3.5.x.
15531550

15541551
The :mod:`typing` module has a much improved support for generic type

0 commit comments

Comments
 (0)