Skip to content

Commit

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

(cherry picked from commit 0db6f44)

Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
Automerge-Triggered-By: GH:AlexWaygood
  • Loading branch information
miss-islington and Gouvernathor committed Feb 27, 2023
1 parent bd4a709 commit 1ef6e45
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 @@ -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|

Expand Down

0 comments on commit 1ef6e45

Please sign in to comment.