Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Hugo's review
  • Loading branch information
AA-Turner committed Oct 4, 2025
commit 2aaf81ddc8adf23016820a59e421c95d30889ee3
8 changes: 4 additions & 4 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1596,9 +1596,9 @@ heapq
* The :mod:`!heapq` module has improved support for working with max-heaps,
via the following new functions:

* :func:`~heapq.heapify_max`,
* :func:`~heapq.heappush_max`,
* :func:`~heapq.heappop_max`,
* :func:`~heapq.heapify_max`
* :func:`~heapq.heappush_max`
* :func:`~heapq.heappop_max`
* :func:`~heapq.heapreplace_max`
* :func:`~heapq.heappushpop_max`

Expand Down Expand Up @@ -2171,7 +2171,7 @@ typing
Previously, running ``Union[int, str]`` multiple times would return
the same object (``Union[int, str] is Union[int, str]`` would be ``True``),
but now it will return two different objects.
Users should use ``==`` to compare unions for equality, not ``is``.
Use ``==`` to compare unions for equality, not ``is``.
New-style unions have never been cached this way.
This change could increase memory usage for some programs that use
a large number of unions created by subscripting ``typing.Union``.
Expand Down
Loading