Skip to content

Commit 2aaf81d

Browse files
committed
Hugo's review
1 parent 8daf95d commit 2aaf81d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,9 +1596,9 @@ heapq
15961596
* The :mod:`!heapq` module has improved support for working with max-heaps,
15971597
via the following new functions:
15981598

1599-
* :func:`~heapq.heapify_max`,
1600-
* :func:`~heapq.heappush_max`,
1601-
* :func:`~heapq.heappop_max`,
1599+
* :func:`~heapq.heapify_max`
1600+
* :func:`~heapq.heappush_max`
1601+
* :func:`~heapq.heappop_max`
16021602
* :func:`~heapq.heapreplace_max`
16031603
* :func:`~heapq.heappushpop_max`
16041604

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

0 commit comments

Comments
 (0)