Skip to content

Commit 0db6f44

Browse files
authored
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
Automerge-Triggered-By: GH:AlexWaygood
1 parent e3c3f9f commit 0db6f44

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
@@ -802,8 +802,9 @@ function.
802802

803803
.. attribute:: Parameter.kind
804804

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

808809
.. tabularcolumns:: |l|L|
809810

0 commit comments

Comments
 (0)