]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Replace "ordered arguments" with "positional arguments" in `unittest.mock...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Aug 2025 14:08:01 +0000 (16:08 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Aug 2025 14:08:01 +0000 (14:08 +0000)
Replace "ordered arguments" with "positional arguments" in `unittest.mock` documentation (GH-137552)
(cherry picked from commit 64ee1babfb971ddbc00fd8711cccebfbddf6e4ee)

Co-authored-by: Tom Forbes <tom@tomforb.es>
Doc/library/unittest.mock.rst

index becfa34db6b9bb903808fa1ffcc8b9c6d1261dbd..92d41222d3827f5ce3820e9ef8865caca6431e63 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).