Skip to content

Commit b8c621c

Browse files
Apply suggestions from code review
Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 86550eb commit b8c621c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Doc/whatsnew/2.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ complete list of changes, or look through the SVN logs for all the details.
13591359
or 2 to specify which generation to collect. (Contributed by Barry Warsaw.)
13601360

13611361
* The :func:`~heapq.nsmallest` and :func:`~heapq.nlargest` functions in the :mod:`heapq`
1362-
module now support a ``key`` keyword argument similar to the one provided by
1362+
module now support a ``key`` keyword argument similar to the one provided by
13631363
the :func:`min`/:func:`max` functions and the :meth:`sort` methods. For
13641364
example::
13651365

Doc/whatsnew/3.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Some smaller changes made to the core Python language are:
403403

404404
* Unicode database updated to UCD version 6.3.
405405

406-
* :func:`min` and :func:`max` now accept a *default* keyword argument that
406+
* :func:`min` and :func:`max` now accept a keyword argument *default* that
407407
can be used to specify the value they return if the iterable they are
408408
evaluating has no elements. (Contributed by Julian Berman in
409409
:issue:`18111`.)

Doc/whatsnew/3.6.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ The :class:`~unittest.mock.Mock` class has the following improvements:
16641664
(Contributed by Amit Saha in :issue:`26323`.)
16651665

16661666
* The :meth:`Mock.reset_mock() <unittest.mock.Mock.reset_mock>` method
1667-
now support two optional keyword arguments: *return_value* and
1667+
now supports two optional keyword arguments: *return_value* and
16681668
*side_effect*.
16691669
(Contributed by Kushal Das in :issue:`21271`.)
16701670

Doc/whatsnew/3.7.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ on POSIX systems and can be used to determine whether a path is a mount point.
11981198
pdb
11991199
---
12001200

1201-
:func:`pdb.set_trace` now takes an optional keyword argument *header*.
1201+
:func:`pdb.set_trace` now takes optional keyword argument *header*.
12021202
If given, it is printed to the console just before debugging
12031203
begins. (Contributed by Barry Warsaw in :issue:`31389`.)
12041204

0 commit comments

Comments
 (0)