]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Sep 2024 00:35:29 +0000 (02:35 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 00:35:29 +0000 (17:35 -0700)
gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936)
(cherry picked from commit 8e99495701737c9d9706622f59581213ef163b23)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Doc/library/inspect.rst

index 56a92690162cabd3e08fbbb184b78e40fe8edfc0..9cd1b34da0cca26065dd8f2683708dac0e21f59f 100644 (file)
@@ -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