]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Sep 2024 12:14:42 +0000 (14:14 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2024 12:14:42 +0000 (14:14 +0200)
(cherry picked from commit 8e99495701737c9d9706622f59581213ef163b23)

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

index dbf7d6868b02dfcce4de2f12defaedad4abb2d11..7f9b24b57ceeb515be8a8cf96abbde37da38d81f 100644 (file)
@@ -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