Skip to content

Commit 01b21c3

Browse files
Correct trivial grammar in reset_mock docs (GH-101861)
(cherry picked from commit a1f08f5) Co-authored-by: Steve Kowalik <steven@wedontsleep.org>
1 parent 1b73683 commit 01b21c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/unittest.mock.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ the *new_callable* argument to :func:`patch`.
406406
False
407407

408408
.. versionchanged:: 3.6
409-
Added two keyword only argument to the reset_mock function.
409+
Added two keyword-only arguments to the reset_mock function.
410410

411411
This can be useful where you want to make a series of assertions that
412412
reuse the same object. Note that :meth:`reset_mock` *doesn't* clear the
@@ -416,8 +416,8 @@ the *new_callable* argument to :func:`patch`.
416416
parameter as ``True``. Child mocks and the return value mock
417417
(if any) are reset as well.
418418

419-
.. note:: *return_value*, and :attr:`side_effect` are keyword only
420-
argument.
419+
.. note:: *return_value*, and :attr:`side_effect` are keyword-only
420+
arguments.
421421

422422

423423
.. method:: mock_add_spec(spec, spec_set=False)

0 commit comments

Comments
 (0)