https://github.com/python/cpython/commit/74c3805cef9bb2604e1b26e6bf222f75e48c5a00 commit: 74c3805cef9bb2604e1b26e6bf222f75e48c5a00 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity <[email protected]> date: 2025-08-08T14:08:01Z summary:
[3.13] Replace "ordered arguments" with "positional arguments" in `unittest.mock` documentation (GH-137552) (GH-137554) Replace "ordered arguments" with "positional arguments" in `unittest.mock` documentation (GH-137552) (cherry picked from commit 64ee1babfb971ddbc00fd8711cccebfbddf6e4ee) Co-authored-by: Tom Forbes <[email protected]> files: M Doc/library/unittest.mock.rst diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index becfa34db6b9bb..92d41222d3827f 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). _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
