Skip to content

Commit ca1cc14

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 cba52ec commit ca1cc14

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
@@ -753,8 +753,9 @@ function.
753753

754754
.. attribute:: Parameter.kind
755755

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

759760
.. tabularcolumns:: |l|L|
760761

0 commit comments

Comments
 (0)