From: Tom Forbes Date: Fri, 8 Aug 2025 14:00:18 +0000 (+0100) Subject: Replace "ordered arguments" with "positional arguments" in `unittest.mock` documentat... X-Git-Tag: v3.15.0a1~735 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64ee1babfb971ddbc00fd8711cccebfbddf6e4ee;p=thirdparty%2FPython%2Fcpython.git Replace "ordered arguments" with "positional arguments" in `unittest.mock` documentation (GH-137552) --- diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 091562cc9aef..91f90a0726aa 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -639,7 +639,7 @@ the *new_callable* argument to :func:`patch`. This is either ``None`` (if the mock hasn't been called), or the arguments that the mock was last called with. This will be in the form of a tuple: the first member, which can also be accessed through - the ``args`` property, is any ordered arguments the mock was + the ``args`` property, is any positional arguments the mock was called with (or an empty tuple) and the second member, which can also be accessed through the ``kwargs`` property, is any keyword arguments (or an empty dictionary).