From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 24 Sep 2024 00:35:29 +0000 (+0200) Subject: [3.13] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args... X-Git-Tag: v3.13.0rc3~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fa7f5a734ed252623fc2c92d872af6fdf2000c5;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936) (#124005) gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936) (cherry picked from commit 8e99495701737c9d9706622f59581213ef163b23) Co-authored-by: Nice Zombies --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 56a92690162c..9cd1b34da0cc 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -1018,7 +1018,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