From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:14:42 +0000 (+0200) Subject: [3.12] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args... X-Git-Tag: v3.12.7~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c15b1a05aa0f5b102bcbe8017c884e4147ab72d;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936) (GH-124004) (cherry picked from commit 8e99495701737c9d9706622f59581213ef163b23) Co-authored-by: Nice Zombies --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index dbf7d6868b02..7f9b24b57cee 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -986,7 +986,8 @@ function. .. attribute:: BoundArguments.kwargs A dict of keyword arguments values. Dynamically computed from the - :attr:`arguments` attribute. + :attr:`arguments` attribute. Arguments that can be passed positionally + are included in :attr:`args` instead. .. attribute:: BoundArguments.signature