]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Replace "ordered arguments" with "positional arguments" in `unittest.mock` documentat...
authorTom Forbes <tom@tomforb.es>
Fri, 8 Aug 2025 14:00:18 +0000 (15:00 +0100)
committerGitHub <noreply@github.com>
Fri, 8 Aug 2025 14:00:18 +0000 (14:00 +0000)
Doc/library/unittest.mock.rst

index 091562cc9aef984398bd580230af8a34c9d0ba89..91f90a0726aa931c036ef539eb6b09f05e032ddc 100644 (file)
@@ -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).