Skip to content

Commit cab69f0

Browse files
committed
tweak docs
1 parent 3ec9271 commit cab69f0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Doc/library/stdtypes.rst

+5
Original file line numberDiff line numberDiff line change
@@ -5464,6 +5464,11 @@ The user-exposed type for the union object can be accessed from
54645464

54655465
.. versionadded:: 3.10
54665466

5467+
.. versionchanged:: 3.14
5468+
5469+
Union objects are now instances of :class:`typing.Union`. Previously, they were instances
5470+
of :class:`types.UnionType`, which remains an alias for :class:`typing.Union`.
5471+
54675472

54685473
.. _typesother:
54695474

Doc/whatsnew/3.13.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1486,6 +1486,7 @@ Optimizations
14861486
Removed Modules And APIs
14871487
========================
14881488

1489+
14891490
.. _whatsnew313-pep594:
14901491

14911492
PEP 594: Remove "dead batteries" from the standard library

0 commit comments

Comments
 (0)