Skip to content

Commit 1ef6e45

Browse files
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
(cherry picked from commit 0db6f44) Co-authored-by: Gouvernathor <[email protected]> Automerge-Triggered-By: GH:AlexWaygood
1 parent bd4a709 commit 1ef6e45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/inspect.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,9 @@ function.
780780

781781
.. attribute:: Parameter.kind
782782

783-
Describes how argument values are bound to the parameter. Possible values
784-
(accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
783+
Describes how argument values are bound to the parameter. The possible
784+
values are accessible via :class:`Parameter` (like ``Parameter.KEYWORD_ONLY``),
785+
and support comparison and ordering, in the following order:
785786

786787
.. tabularcolumns:: |l|L|
787788

0 commit comments

Comments
 (0)