https://github.com/python/cpython/commit/8e99495701737c9d9706622f59581213ef163b23
commit: 8e99495701737c9d9706622f59581213ef163b23
branch: main
author: Nice Zombies <[email protected]>
committer: encukou <[email protected]>
date: 2024-09-12T14:03:32+02:00
summary:
gh-118577: Clarify that inspect.BoundArguments prefers to put values in args
(GH-119936)
files:
M Doc/library/inspect.rst
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index f55824ab5f6cd9..57e5cf7ae023d1 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]