mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
(cherry picked from commit 0db6f44259
)
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
Automerge-Triggered-By: GH:AlexWaygood
This commit is contained in:
parent
bd4a709038
commit
1ef6e45f96
1 changed files with 3 additions and 2 deletions
|
@ -780,8 +780,9 @@ function.
|
|||
|
||||
.. attribute:: Parameter.kind
|
||||
|
||||
Describes how argument values are bound to the parameter. Possible values
|
||||
(accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
|
||||
Describes how argument values are bound to the parameter. The possible
|
||||
values are accessible via :class:`Parameter` (like ``Parameter.KEYWORD_ONLY``),
|
||||
and support comparison and ordering, in the following order:
|
||||
|
||||
.. tabularcolumns:: |l|L|
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue