New submission from Andrius Gobis <gobisandr...@gmail.com>:
In Python 3.8, the ``args`` and ``kwargs`` properties were added to Mock ``Call`` objects (PR: https://github.com/python/cpython/pull/11807 Issue: https://bugs.python.org/issue21269). However, the change did not add a change version to the documentation. The ``Doc/library/unittest.mock.rst`` file should include the following in the ``Call`` section: ``` The ``Doc/library/unittest.mock.rst`` file should include the following in the ``Call`` section: ``` .. versionchanged:: 3.8 Added the ``args`` and ``kwargs`` properties to more easily access the positional args and keyword args within a ``Call`` object tuple. ``` ---------- assignee: docs@python components: Documentation messages: 370330 nosy: Andrius Gobis, docs@python priority: normal severity: normal status: open title: Mock Call attributes args and kwargs have no changeversion type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40820> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com