Skip to content

Commit

Permalink
pythongh-102296 Document that inspect.Parameter kinds support ordering (
Browse files Browse the repository at this point in the history
pythonGH-102297)

Automerge-Triggered-By: GH:AlexWaygood
  • Loading branch information
Gouvernathor committed Feb 27, 2023
1 parent e3c3f9f commit 0db6f44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/library/inspect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,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|

Expand Down

0 comments on commit 0db6f44

Please sign in to comment.