From 8e99495701737c9d9706622f59581213ef163b23 Mon Sep 17 00:00:00 2001 From: Nice Zombies Date: Thu, 12 Sep 2024 14:03:32 +0200 Subject: gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936) --- Doc/library/inspect.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index f55824a..57e5cf7 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -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 -- cgit v0.12