[Python-checkins] bpo-41325: Add version note for args and kwargs property in call object (GH-21525)

Miss Islington (bot) webhook-mailer at python.org
Sat Jul 18 09:13:27 EDT 2020


https://github.com/python/cpython/commit/7734738d71c052779d3cb189e5ba0759beb8d620
commit: 7734738d71c052779d3cb189e5ba0759beb8d620
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-07-18T06:13:21-07:00
summary:

bpo-41325: Add version note for args and kwargs property in call object (GH-21525)

(cherry picked from commit 9b01c598ca2576a1056816e85dd84bf5f9c74688)

Co-authored-by: Jordan Speicher <uSpike at users.noreply.github.com>

files:
M Doc/library/unittest.mock.rst

diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index e92f5545d3eb0..34966b38a0dcd 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -647,6 +647,9 @@ the *new_callable* argument to :func:`patch`.
         arguments and make more complex assertions. See
         :ref:`calls as tuples <calls-as-tuples>`.
 
+        .. versionchanged:: 3.8
+           Added ``args`` and ``kwargs`` properties.
+
 
     .. attribute:: call_args_list
 



More information about the Python-checkins mailing list