]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH...
authorNice Zombies <nineteendo19d0@gmail.com>
Thu, 12 Sep 2024 12:03:32 +0000 (14:03 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2024 12:03:32 +0000 (14:03 +0200)
Doc/library/inspect.rst

index f55824ab5f6cd9965dfcfa8c3785a0549d042228..57e5cf7ae023d189f2a342f35fcf93e59f691753 100644 (file)
@@ -1043,7 +1043,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