8000 Correct trivial grammar in reset_mock docs (#101861) · python/cpython@a1f08f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1f08f5

Browse files
Correct trivial grammar in reset_mock docs (#101861)
1 parent 6ef6915 commit a1f08f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/unittest.mock.rst

Lines changed: 3 additions & 3 deletions
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)
0