Replace "ordered arguments" with "positional arguments" in unittest.mock documentation (GH-137552)

This commit is contained in:
Tom Forbes 2025-08-08 15:00:18 +01:00 committed by GitHub
parent 9743d069bd
commit 64ee1babfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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).